plugins
plugins copied to clipboard
[@nativescript/social-share]unable to share image on Android in the demo
The issue is that the FilterProvider path in Tool/Assets is android:authorities="${applicationId}.fileprovider" code
it does not match the one defined in the package android:authorities="${applicationId}.provider" code
In the source code, it use Application.android.nativeApp.getPackageName() code ,
I think:
- Tool/Assets AndroidManifest.xml should update to use
android:authorities="${applicationId}.provider" - the
android:name="android.support.v4.content.FileProvider"should beandroid:name="androidx.core.content.FileProvider"in package AnroidManifest.XML