I want to share an image on social media. The extension works fine with plain text, but when it comes to sharing with bitmapData property, nothing happens (no errors, no prompts, nothing at all).
I've tried the sample project provided in the repository but I get the same result.
I've also found that if I try sharing a file using Share.service.shareFile() it gives me an error:
share:failed::shareFile::Could not access file. Check WRITE_EXTERNAL_STORAGE permission and FileProvider
Edit: Working on the sample test project,
the manifest additions are as follows (air. included in the package name as it supposed to be).
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<application>
<provider
android:name="com.distriqt.extension.share.content.ShareFileProvider"
android:authorities="air.com.distriqt.test.sharefileprovider"
android:grantUriPermissions="true"
android:exported="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/distriqt_share_paths" />
</provider>
<activity android:name="com.distriqt.extension.share.permissions.AuthorisationActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
</application>
Share extension version: 6.0.56
Any help is greatly appreciated.