Closed u01ser closed 4 years ago
You can specify the version of the Google Play Services for this plugin using <preference name="GOOGLE_MAPS_PLAY_SERVICES_VERSION" value="16.1.0" />
in config.xml
file
I tried with your recomendation:
In your documentation you told about 16.0.1 (https://github.com/mapsplugin/cordova-plugin-googlemaps) and then I changed to:
And the error is:
ERROR: Failed to resolve: com.google.android.gms:play-services-maps:16.0.1 Show in Project Structure dialog Affected Modules: app
ERROR: Failed to resolve: com.google.android.gms:play-services-location:16.0.1 Show in Project Structure dialog Affected Modules: app
At the end, i test with:
And Android studio dont show errors, but i dont know if the app will be ok
What do you think?
What version do you use of this plugin ? (Please provide enough information in advance)
Sorry. I use the las versions of all plugins.
I uploaded the project files to: https://github.com/u01ser/test-pushandmap
The only way for everything works that i found is:
<preference name="GOOGLE_MAPS_PLAY_SERVICES_VERSION" value="15.0.1" />
I dont know if this is the best way for your plugin.
Thanks for all!
15.0.1
is OK, if you don't use Panorama
class.
I don't know other developer's plugin details, but I was able to build with:
FCM_VERSION = 20.2.1
and GOOGLE_MAPS_PLAY_SERVICES_VERSION = 16.0.0
More further, please ask to the phonegap-plugin-push
developer, not me.
I don't know other developer's plugin details, but I was able to build with:
FCM_VERSION = 20.2.1
andGOOGLE_MAPS_PLAY_SERVICES_VERSION = 16.0.0
Not work for me.
I put in the config.xml "
Can you tell me how do you make it work?
More further, please ask to the
phonegap-plugin-push
developer, not me.
You are absolutely right, and I appreciate your answers a lot. I think you are a good developer and good person. I didn't know the problem was on the other plugin.
Thanks for all!
Sorry, but I have no enough to help your problem until the end. Please try and try. Basically if you don't "street view", "15.1" is enough.
Conflicting the versions of the libraries is the responsibility of the app developer
I have the same problem and was just able to build using this:
https://github.com/phonegap/phonegap-plugin-push/issues/2902
Try it and let me know. I haven't found any bugs or downsides yet. Will report if I find any!
When i use "cordova-plugin-googlemaps" and "phonegap-plugin-push" plugins and i tried to open a project on android studio:
I read a lot of documentation on internet, and i understand that the problem is because the plugins uses different versions, but i dont know how can i fix it.
Thanks for all.