Created
June 24, 2020 06:11
-
-
Save anta40/21edbcdd1b33aeeae236917847dadeaa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FirebaseInstanceId.getInstance().getInstanceId().addOnSuccessListener( MainActivity.this, new OnSuccessListener<InstanceIdResult>() { | |
@Override | |
public void onSuccess(InstanceIdResult instanceIdResult) { | |
String mToken = instanceIdResult.getToken(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment