New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing video to instagram app fails when using the filepath (ANDROID) #574
Comments
is there any other error message besides "video not provided"? |
I found a solution, at least working in my case.
and then share as follow:
The trick is not to let the file store in your app package but in the download dir instead. I don't know why but I can access and upload any video or picture to instagram ever since I changed the destination. Hope it works for you as well 😄 |
I dit a try-catch and it doesn't display any errors
This fix works for me too, thanks. Maintainers should add this to the readme so people with the same problem can use the library with filepaths too. |
@albrewot great to know |
@sergiombravo This is work for me, Thank you. |
Steps to reproduce
Expected behaviour
Actual behaviour
Using RNFetchBlob or CameraRoll filepaths always results in the same behaviour
Code
Using just the filepath from RNFetchBlob
Using CameraRoll
I already verified that the paths point to the correct file
example of filepaths given:
RNFetchBlob: /data/user/0/APP_PACKAGE/files/RNFetchBlobTmp_6l8lz5r3hf4ju3ptneklr.mp4
CameraRoll: file:///storage/emulated/0/Pictures/RNFetchBlobTmp_f72tuixtrlqpbrn5hdrnb.mp4
Additional Note
It works fine using base64 as the file but since i'm working with videos and most of the time large size videos (20mb or more) if i use base64 as the file and it's more than 15mb, it makes my app crash or perma-freeze most of the time
Environment
The text was updated successfully, but these errors were encountered: