Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upIncompatibility with nativescript-plugin-firebase #81
Comments
This comment has been minimized.
This comment has been minimized.
I can confirm that enableLocationRequest does work using 11.2.2. I forked this repo and repackaged the plugin with a pinned version of 11.2.2 as a workaround which does work for me so far. |
This comment has been minimized.
This comment has been minimized.
Hi @hettiger, Thanks for reporting this incompatibility. The firebase plugin supports a custom Google Play Services version. Check here. In other words, you could set:
in your app/App_Resources/Android/app.gradle. We should introduce the same flexible version support in the next version of the geolocation plugin. It should be the same as the one here combined with the README section. If the firebase plugin is not OK with the 11.4.0 version, and you try the above-mentioned approach in your geolocation fork allowing you to set the googlePlayServicesVersion property to 11.2.2, a pull request will be highly appreciated. |
DimitarTachev
added
enhancement
good first issue
help wanted
labels
Oct 18, 2017
hettiger
referenced this issue
Oct 18, 2017
Merged
Implement flexible version support for Google Play Services #82
wafflebot
bot
added
the
new PR
label
Oct 18, 2017
This comment has been minimized.
This comment has been minimized.
@DimitarTachev Thank you, I've opened a Pull Request. (nativescript-plugin-firebase is not compatible with 11.4.0) |
This comment has been minimized.
This comment has been minimized.
jlooper
commented
Oct 18, 2017
This comment has been minimized.
This comment has been minimized.
Thank you @jlooper very much appreciate it :-) |
DimitarTachev
closed this
in
#82
Oct 19, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
echosalik
commented
Apr 26, 2018
Hi I am having the same problem. But no matter what version I select it gives me an error to update to that version (which it is already on). How can I solve that? |
This comment has been minimized.
This comment has been minimized.
@DragoTechInnovations try |
This comment has been minimized.
This comment has been minimized.
echosalik
commented
Apr 26, 2018
I did something else. I force changed the version from |
This comment has been minimized.
This comment has been minimized.
@DragoTechInnovations This should not be necessary but if it doesn't bother you that's fine to me. |
This comment has been minimized.
This comment has been minimized.
@DragoTechInnovations I've just upgraded my app to {NS} 4. I had the same error too. The fix was as simple as following these instructions: https://github.com/EddyVerbruggen/nativescript-plugin-firebase#includegradle-failed-to-apply-plugin--for-input-string- "nativescript-plugin-firebase": "^5.3.0", requires you to set something like this.
|
This comment has been minimized.
This comment has been minimized.
lin-brian-l
commented
May 8, 2018
I've been having the same problem and @hettiger's solution helped me resolve the version conflict error, but I then ran into this error:
As per this SO post, I changed my |
hettiger commentedOct 18, 2017
There's a version conflict between nativescript-geolocation and nativescript-plugin-firebase.
As of
nativescript-geolocation/src/platforms/android/include.gradle
Line 19 in d47fc8d
nativescript-geolocation wants Google Play Services 11.4.0 but nativescript-plugin-firebase forces me to pin to version 11.2.2.
Is version 11.4.0 actually really required for this plugin to work or can you just pin to 11.2.2 as well? I think this is a issue for many people because nativescript-plugin-firebase is quite an important plugin... If not, what could I do about it? I really would like to be able using both of these plugins together in one app.
Here's the original error message I get after installing the nativescript-geolocation plugin and trying to build for Android.