I am using this app for first time logging. Call Connect() function for signing.
private void connect() {
// The sample app is having the PII enable setting on the MainActivity. Ideally, app should decide to enable Pii or not,
// if it's enabled, it should be the setting when the application is onCreate.
if (mEnablePiiLogging) {
Logger.getInstance().setEnablePII(true);
} else {
Logger.getInstance().setEnablePII(false);
}
AuthenticationManager mgr = AuthenticationManager.getInstance();
/* Attempt to get a user and acquireTokenSilent
from this function it call.
public void callAcquireToken(Activity activity, final MSALAuthenticationCallback authenticationCallback) {
mActivityCallback = authenticationCallback;
mPublicClientApplication.acquireToken(
activity, Constants.SCOPES, getAuthInteractiveCallback());
}
after calling this function i get signing page.
after that i click on back button which appear on signing page.
when i click back button device hang after some time get message of not responding. Device back button work perfect but authetication back button is not working .