I'm using the latest version of react-native-share (9.2.3) for sharing images from my app using share.open()
command.
The Share.open() works fine on IOS, but sharing options don't open on Android 11 or greater, and no error is thrown as well.
Can anyone help me with this issue?
I converted PNGs stored in my project assets folder to URI using Image.resolveAssetSource(image).uri
command and then converted them to base64 format as directed in this https://react-native-share.github.io/react-native-share/docs/share-remote-file for android
i think you have forgotten the provider options in Android
AndroidManifest.xml
copy and paste the below code in your
AndroidManifest.xml
Create a filepaths.xml under this directory:
copy and paste this code
for android sdk 30 or above follow this
for a working sample you can try this