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

5.04 receiving a message #69

Open
wants to merge 7 commits into
base: 5.04_Receiving_a_Message
Choose a base branch
from

Conversation

NTonani
Copy link

@NTonani NTonani commented Dec 1, 2016

Since GCM has been deprecated, I've updated the final branch of lesson 5 with FCM source. This way, students can check 5.04 out to run the final quiz 'See it run'.

Updates

  • Removal of RegistrationIntentService.java
    • FCM library auto-registers
  • Updated AndroidManifest.xml
    • GCM specific permissions removed - FCM library handles adding permissions
    • Services updated for FCM
  • Updated build.gradle project/module
    • Project level - updated google-services version to 3.0
    • Module level - added FCM dependencies and play-services for GoogleApiAvailability; moved applying google-services plugin to bottom of build file
  • Updated MainActivity.java to no longer register token if it doesn't exist since handled by FCM. The checkPlayServices() method is still called to notify the user if a conflict exists that can be dealt with.

Testing

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.

1 participant