Open ggunti opened 1 year ago
any solution please
I'm facing the same problem.
me too
i cant even find the app in the share menu !
@Mohammad-DH: Try adding the following intent to android/app/main/AndroidManifest.xml:
`
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
<data android:mimeType="image/*" />
<!-- Any other mime types you want to support -->
`
In my app I allowed to share images (jpeg, png) and pdf files.
Image sharing is working properly. But on some android devices (ex. Huawei mate 10 lite) when I try to share a pdf file, I simply get "java.lang.NullPointerException" in the error callback function. On some another devices it just simply works.
What could cause this error on some android devices? And why only regarding pdf sharing? (as I mentioned, image sharing works always on all devices).
I added these filters to the
AndroidManifest.xml
file:And these permissions: