plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@nativescript/social-share]unable to share image on Android in the demo

Open luffyzc opened this issue 4 years ago • 0 comments

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:

  1. Tool/Assets AndroidManifest.xml should update to use android:authorities="${applicationId}.provider"
  2. the android:name="android.support.v4.content.FileProvider" should be android:name="androidx.core.content.FileProvider" in package AnroidManifest.XML

luffyzc avatar Feb 21 '21 00:02 luffyzc