-
Notifications
You must be signed in to change notification settings - Fork 587
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
Attempt to invoke virtual method -- Again #259
Comments
I got it working. Not sure why.
All my other apps had it. It makes sense that I would need the "opener_paths" My other apps are using Would that cause this? |
@newuser44 closing this ticket as a duplicate of #215. It seems to be the same issue. The plugin makes changes to the Android manifest xml file and if your config.xml also attempts to make changes then there is a clash and this error occurs. Looking into a fix now. |
Expected Behaviour
Be able to open a saved file
Actual Behaviour
fileOpener catch path is called with error
Console log dump --
Error Opening Statement file: 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
Steps to Reproduce
?? Download a blob file. Save the file to the phone. Open the file using fileOpener.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Test on a Samsung S7 with Android 8.0 on it.
Cordova CLI info
Node version: v6.16.0
Cordova version: 7.0.1
Ionic 3.19.1
On Android Cordova 6.4.
Plugin version
I was getting this problem. Saw the other thread that talked about this was fixed in 2.1 I was on 2.0.19 (our other apps this works fine with that version).
I uninstalled and installed the plugin again. Now I'm on.
Removed Android and added it back.
Same problem.
Sample Code that illustrates the problem
??
Logs taken while reproducing problem
Not sure where to find logs.
The text was updated successfully, but these errors were encountered: