Home » Android » App signing with account manager

App signing with account manager

Posted by: admin November 1, 2017 Leave a comment

Questions:

I have a problem with the signature of my apps.
The first app will create the account with the accountmanager.
The second app will get the account from the accountmanager.

When I debug both of the apps it work, but when the first with the account manager is in the play store and I will download it from there the second app says

java.lang.SecurityException: uid **** cannot get user data for
accounts of type: ******

Both apps have to have the same signature from Keystore, or?
Because I didn’t get it what Google will say with Uploadcertificate and App-signingcertificate.

Is this a problem with my signature or will it work when I upload the second to the play store too?

Answers: