-
Notifications
You must be signed in to change notification settings - Fork 215
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
two app with same account #11
Comments
you mean only one account can be signed in or be used at a time? |
@ahadxfighter no, I mean only the first installed app has permission to show login activity and create account; try install both sample apps in Udinic/AccoutAuthentictor, then use both of them separately to create account. Only one app can do. |
yes. I followed his code, and it is working fine. But since firebase out there, it does not seem helpful managing account for your app. What do you think? |
Please take a look at [https://www.captechconsulting.com/blogs/Android-Single-Account-Multiple-Application-Prescription] |
I don't know what happened but it wasn't working yesterday but it's working fine today with two apps having the same account. |
I just want to know how you use this AccountManager on multiple applications, because I found that if both applications depend on the AccountAuthenticator library and the two application signatures are different, then in the first application After logging in to the successful account and saving the token, in the second application, it is impossible to obtain any token after the first application login successfully in AccountAuthenticator, but when I sign the same signature information for the two applications, this is OK. of. Both applications can share account information together. Have you ever encountered this problem? |
Yeah, that's true. |
If we install both sample applications on single android device, only the first one can create account.
It seems that application with shared account should use same "android:sharedUserId".
The text was updated successfully, but these errors were encountered: