-
Notifications
You must be signed in to change notification settings - Fork 195
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
Is not compatible with Cordova 8.0.0 #99
Comments
|
Hi, im am upgrading my project from cordova 6.5.0 to 8.0.0. When installing i get the following error:
Nodejs version: 8.9.4 I have this in my config.xml <plugin name="cordova-plugin-app-version" spec="^0.1.9" /> As from cordova v7, there was a breaking change which may be the root of this issue: |
This is not a problem in In my case the presence of a Check if there exists any of these files or directories inside your In my case I had the following in my config.xml: |
I had the same issues as @znegva, but the problem has to do with this plugin and any other relying on old manifest location AFAIK. See: |
…fused about whether the project is AndroidStudio or not. See sampart/cordova-plugin-app-version#99
I have found success overriding the bad function using a hook: https://gist.github.com/joeljeske/68121fa6d643e0937f50458d0172e16e |
@joeljeske thanks. added a bit: https://stackoverflow.com/a/49770295/4384751 |
just to let you know, cordova has a fix for it too. add this to your config.xml:
source: http://cordova.apache.org/announcements/2017/12/04/cordova-android-7.0.0.html just tested it and it works! |
Adding |
@moomoomamoo hmm strange, solved it for me. But I guess if the hook works, why not use that :) |
From the above thread it seems this is an issue with the projects config.xml/plugins.xml and not with the code in the plugin. I'm going to close this for now unless more feedback comes up |
I've just tried this with phonegap build, v8.0.0 and it doesnt work, I cant use hooks either because pgb doesnt allow/support these. Any other ideas? Im trying to an image into the res folder so its available for phonegap-plugin-push |
If you are using PhoneGap build V 8.0.0, you need to change the path on your resource file copies. |
The text was updated successfully, but these errors were encountered: