I am recording Video and video plugin returns this url:
“/data/user/0/com.myapp.app/cache/videoTmp_16.mp4”
How can i get File so i can upload it to my server.
Using Filesystem plugin return base64:
const fileData = await Filesystem.readFile({
path: filePath,
});
return fileData.data; // This is the base64-encoded file data