Import Google Project 2. Switch to FCM in the app-level build.gradle compile "com.google.firebase:firebase-messaging:9.0.0" 3. Remove permissions and receiver from Manifest 4. Remove registration FirebaseInstanceId.getInstance().getToken(); If we need this. 5. Update and Migrate Listener Services
current thread; instead, the operation is automatically performed in a background thread. You won't the need to manage threads as you did for GCM. Auto retry logic: the operation is stored and automatically retried in case of connectivity issues. Implicit token: the previously required token is now automatically created, using the sender ID specified by the Firebase Project.
body_args_key, title_loc_key, title_loc_args Notification messages are delivered to the notification tray when the app is in the background. For apps in the foreground, messages are handled by callback: onMessageReceived()