samzilverberg/cordova-mixpanel-plugin

Conflict with Phonegap push plugin

Closed this issue · 3 comments

When building an app with this plugin and with Phonegap push plugin I get the following error:

* What went wrong:
A problem occurred evaluating root project 'android'.
> Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
   > For input string: "+"

Looks like this plugin tries to use a different version from the GoogleServicesPlugin than the push plugin. I don't know how to resolve this, there's a thread for this problem on the push plugin side: phonegap/phonegap-plugin-push#1718

the plugin doesnt force any version of GoogleServicesPlugin, it just states + to force you to have some version of it.

the thread you mentioned already states its some sort of cordova prob and offers some solutions, mostly around manually editing the files that cordova generated to the correct form.

Thank you for the quick response!
Well, I managed to fix this via the solutions in the other thread, but thought you might want to know about this issue.

Please close this issue if you want.

closing: issue not related to plugin. Is a general cordova issue.