Created
October 27, 2017 06:31
-
-
Save fauzisho/64b89df651c91b1dd6d4d096c8d826ca to your computer and use it in GitHub Desktop.
set qiscus firebase token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FirebaseService extends QiscusFirebaseService { | |
@Override | |
public void onMessageReceived(RemoteMessage remoteMessage) { | |
Map<String, String> data = remoteMessage.getData(); | |
Log.d("onMessageReceived", "onMessageReceived: " + data.toString()); | |
if (QiscusFirebaseService.handleMessageReceived(remoteMessage)) { // SDK PN, contains key qiscus_sdk | |
return; | |
}l | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment