Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48983

How can i use vuex actions in a composable file with capacitor camera

$
0
0

Hi guys, I have a problem about how to use vuex within a composable file on the use of the capacitor camera plugin, I need once the photo is taken to send it immediately to the backend since if I send a batch of images they are too heavy and the app may is used in places with bad coverage, I am using vuex with split modules, but there is no way to use vuex dispatches in the .ts file.

And another important point is that I wanted to know what is the best way to send an image to the backend, as a blob in a formData or in a normal request but using the image as base64, which is more appropriate in terms of good practices, any help will be very well received and grateful

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>