Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking home button in middle of a sign in process, and try to sign in again. No sign in screen is opening #24

Open
ankita-gvaxp6 opened this issue Apr 23, 2024 · 5 comments

Comments

@ankita-gvaxp6
Copy link

We made this app a default launcher by changing the manifest file where we added for MainActivity. Now in the app we hit the sign in button. When it opens the MS sign in screen, I hit the home button which navigates back to the home screen of the launcher. When the sign in button is clicked again, nothing is happening.

In our app(which happens to be a launcher too):
We have a launcher developed in Kotlin where we have integrated Microsoft Sign in. When we click on the sign in button and it goes to Microsoft Sign-in page, we click on the android home button. Again, from Home Screen if we try to sign in, it does nothing (shows a loader as per the code while trying to open Microsoft sign-in page). It seems that upon clicking on home button, the Microsoft sign-in page instance is not getting closed/deleted, which results in no error and the screen keeps loading

@negoe
Copy link
Contributor

negoe commented May 21, 2024

@ankita-gvaxp6

  • Can you please share some screenshots for better understanding?
  • For the sample app: Can you please clarify "When the sign in button is clicked again, nothing is happening." is it the sample app's sign in button or the button on the MS sign in screen?
  • Also, can you please capture and share the logs, if possible?

@ankita-gvaxp6
Copy link
Author

log_text.txt
Added log and below are the screens
Screenshot_20240524-130702
Screenshot_20240524-130803
Here when I click on the home button in MS login screen it comes back to the launcher (I converted this app to launcher) and then nothing happens. When I try to see the recent apps, I see the login screen is still there and it is not killed when user clicks on home button

@ankita-gvaxp6
Copy link
Author

Hi team, is there any update on this? If there is a way we can have a teams call, it will be very helpful

@negoe
Copy link
Contributor

negoe commented Jun 10, 2024

@ankita-gvaxp6 Thanks for the details. Will review and get back to you.

@negoe
Copy link
Contributor

negoe commented Jun 19, 2024

Hey @ankita-gvaxp6, Per my understanding your expectation is that once you hit the home button you should not be seeing the MS log-in screen. The flow is working as expected. We frequently see users to switch between activity to Password managers and Texting app to get their passwords or MFA codes/OTP codes. We keep the sign-in page so that users can successfully copy paste their passwords or MFA codes without losing the sign in page while switching between the apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants