Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Respect project-level GMS version on Android #350

Merged
merged 2 commits into from
Aug 8, 2018

Conversation

steelbrain
Copy link
Contributor

Hard-coding a GCM version makes it impossible to compile on Android project that uses different GCM or firebase version.

This seems to be a new trend in Android dependencies to solve dependency conflict for GCM and Firebase. See react-native-google-places and react-native-push-notification for example

This change is non-breaking because it still uses the older versions as fallback. No project could've defined a different version and used tipsi-stripe (as the compilation would've failed anyway because of a dep conflict).

@steelbrain steelbrain changed the title Respect project-level GCM version on Android Respect project-level GMS version on Android Aug 1, 2018
@idris
Copy link
Contributor

idris commented Aug 2, 2018

@isnifer can this be merged/pushed?

@isnifer
Copy link
Contributor

isnifer commented Aug 3, 2018

@steelbrain HI! Could you please update an example app like here — https://github.com/tipsi/tipsi-stripe/pull/297/files

@steelbrain
Copy link
Contributor Author

Thanks @isnifer

I've added the new parameters to the example app, I've used the default values in the SDK to populate them in the example as well.

Copy link
Contributor

@isnifer isnifer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@isnifer isnifer requested a review from ngoryachev August 6, 2018 08:28
Copy link
Contributor

@ngoryachev ngoryachev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@isnifer
Copy link
Contributor

isnifer commented Aug 8, 2018

@cybergrind also, please, set a new version :)

@cybergrind cybergrind merged commit 2badc9f into tipsi:master Aug 8, 2018
@steelbrain steelbrain deleted the steelbrain/fix-gcm-compat branch August 8, 2018 13:10
@cybergrind
Copy link
Member

cybergrind commented Aug 8, 2018

@steelbrain thank you for contribution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants