-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
Error trying to uninstall plugin #63
Comments
…f plugin uninstallation) fixes #63
Google Analytics will be discontinued for mobile afaik in a couple of months. Why not use Firebase instead? |
I had the same problem and solved like the migration from cordova-plugin-firebase to cordova-plugin-firebasex. As follows:
In this way, you can do a safe removal of the previous version and reinstall the updated one. |
same problem |
I've done some investigation and determined the cause of the problem when uninstalling the plugin to be this line in the
This causes an error in the Since the bundled |
Copied from wizpanda#42
Describe the bug
I had installed version 5 of the plugin but I'm using Cordova Android 8.0.
Trying to remove the plugin gave me an error.
I thought I had installed version 4, but I get the same error.
To Reproduce
Set up an ionic app with Cordova 8.0 (just updated to it). Ionic 3.20.1 and new Android 8.0.0 (updated).
Install the cordova-pligin-firebase-lib and remove it.
causes error.
Expected behavior
Not delete the AndroidManafest.xml file when removing the plugin.
Plugin version
I installed the latest and got the error that I was using the wrong version.
Tried to uninstall got the error above. Tried to manually remove any trace and install version 4.
Config.xml had this version.
Cleared plugin folder, removed and added android 8.0 to let it installed the plugins.
But it installed 5.1 again.
Config.xml yes 4.1.0
plugin list says
cordova-plugin-firebase-lib 5.1.1 "Google Firebase Plugin"
Desktop (please complete the following information):
Windows 10
Chrome 72
Smartphone (please complete the following information):
NA
Additional context
The real problem I'm having is getting Google Analytics to show data. Trying to get the versions correct.
The text was updated successfully, but these errors were encountered: