Skip to content
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

Switch GCM with FCM server endpoint #303

Merged
merged 1 commit into from
Oct 13, 2016
Merged

Switch GCM with FCM server endpoint #303

merged 1 commit into from
Oct 13, 2016

Conversation

aried3r
Copy link
Member

@aried3r aried3r commented Oct 5, 2016

I purposedly left all comments, classes, debug output etc untouched,
because other than the server endpoint, users of the library still use
GCM and not FCM.

Renaming everything would break the API and thus require a version 3.

For reference, see:
https://developers.google.com/cloud-messaging/android/android-migrate-fcm#update_server_endpoints

@aried3r
Copy link
Member Author

aried3r commented Oct 5, 2016

The tests with Rubinius seem to fail because of an error with Travis-CI itself: travis-ci/travis-ci#5294

I purposedly left all comments, classes, debug output etc untouched,
because other than the server endpoint, users of the library still use
GCM and not FCM.

Renaming everything would break the API and thus require a version 3.

For reference, see:
https://developers.google.com/cloud-messaging/android/android-migrate-fcm#update_server_endpoints
@aried3r
Copy link
Member Author

aried3r commented Oct 13, 2016

Friendly ping @amaierhofer, would you mind taking a look? :)

@amaierhofer amaierhofer merged commit ee32bdf into master Oct 13, 2016
@amaierhofer
Copy link
Contributor

Merging in good faith that you have verified it does send via the new endpoint :)

I believe we should ignore rbx on travis for now, I believe adaption rates are low

@jaz5hq
Copy link

jaz5hq commented Feb 16, 2017

so I am wondering, if i use the documented way for implementing gcm to implement fcm. It will work because of the change of the endpoint?

@aried3r
Copy link
Member Author

aried3r commented Feb 16, 2017

@jaz5hq Would have worked even without the endpoint change ;)

@aried3r aried3r deleted the ar/fcm_endpoint branch February 16, 2017 10:02
Adrian1707 pushed a commit to Adrian1707/rpush that referenced this pull request Apr 24, 2024
Switch GCM with FCM server endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants