- SDK Version: 38.0.0
- Platforms : Android
I am generating an image using ViewShot which returns me the local temp file location like file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540rishav394%252FUPT/ReactNative-snapshot-image3610940458535734452.jpg.
Then I share the image to Whatsapp using the expo-sharing SDK Sharing.shareAsync(localFileAddr);
On expo client Sharing.isAvailableAsync()
resolves true and I can then use shareAsync
but on my published apk Sharing.isAvailableAsync()
always resolves false. Apparently I cant use sharing API on Production.
I dont believe I require any extra permission to enable sharing.
Any help would be appreciated.