-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using share image function error return #27
Comments
Which device / Android version is this? And can you share the code? |
android version : 7.0
XML
package.json
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I generate QR image and pass to shareImage function then return the error below. And i try get from File or from website ,also cause this error.
System.err: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
System.err: android.support.v4.content.FileProvider.parsePathStrategy(FileProvider.java:583)
System.err: android.support.v4.content.FileProvider.getPathStrategy(FileProvider.java:557)
System.err: android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:399)
System.err: com.tns.Runtime.callJSMethodNative(Native Method)
System.err: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1084)
System.err: com.tns.Runtime.callJSMethodImpl(Runtime.java:966)
System.err: com.tns.Runtime.callJSMethod(Runtime.java:953)
System.err: com.tns.Runtime.callJSMethod(Runtime.java:937)
System.err: com.tns.Runtime.callJSMethod(Runtime.java:929)
System.err: com.tns.gen.java.lang.Object_frnal_ts_helpers_l58_c38__ClickListenerImpl.onClick(Object_frnal_ts_helpers_l58_c38__ClickListenerImpl.java:12)
System.err: android.view.View.performClick(View.java:5280)
System.err: android.view.View$PerformClick.run(View.java:21239)
System.err: android.os.Handler.handleCallback(Handler.java:739)
System.err: android.os.Handler.dispatchMessage(Handler.java:95)
System.err: android.os.Looper.loop(Looper.java:224)
System.err: android.app.ActivityThread.main(ActivityThread.java:5526)
System.err: java.lang.reflect.Method.invoke(Native Method)
System.err: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
System.err: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
System.err: File: "file:///data/data/org.nativescript.bungkus/files/app/tns_modules/nativescript-social-share/social-share.js, line: 43, column: 65
The text was updated successfully, but these errors were encountered: