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

two app with same account #11

Open
moshtagh opened this issue Sep 14, 2016 · 7 comments
Open

two app with same account #11

moshtagh opened this issue Sep 14, 2016 · 7 comments

Comments

@moshtagh
Copy link

moshtagh commented Sep 14, 2016

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".

@csabdulahad
Copy link

you mean only one account can be signed in or be used at a time?

@moshtagh
Copy link
Author

moshtagh commented Sep 14, 2016

@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.

@csabdulahad
Copy link

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?

@moshtagh
Copy link
Author

moshtagh commented Sep 14, 2016

Please take a look at [https://www.captechconsulting.com/blogs/Android-Single-Account-Multiple-Application-Prescription]
I think it is dose not matter whether use of firebase or not.

@santoki-darshan
Copy link

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.

@1136066873
Copy link

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?

@santoki-darshan
Copy link

Yeah, that's true.

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

4 participants