Created
September 30, 2020 06:15
-
-
Save melikeeroglu/ff95fba75a5203a35a1928e1b6d9073a to your computer and use it in GitHub Desktop.
HiAnimals signInAnonymously
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
AGConnectAuth.getInstance().signInAnonymously().addOnSuccessListener(new OnSuccessListener<SignInResult>() { | |
@Override | |
public void onSuccess(SignInResult signInResult) { | |
startActivity(new Intent(MainActivity.this, HomePageActivity.class)); | |
finish(); | |
} | |
}).addOnFailureListener(new OnFailureListener() { | |
@Override | |
public void onFailure(Exception e) { | |
Log.d(TAG, "Error " + e); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment