Kamalnrf
Kamalnrf

Reputation: 342

I'm getting invalid app error

While trying to authenticate my user i'm getting this error "INVALID_APP_SIGNATURE" i don't think there is something wrong with my code

i have properly added all my app details in uber developer dashboard

I tried using sample given in github page but im getting the same error

Upvotes: 1

Views: 1255

Answers (2)

Marcin
Marcin

Reputation: 34

Alex's solution worked for me. For quick testing (non-production), you can just add your debug key to the Application signature section.

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

By default the debug keystore has a blank password.

Upvotes: 0

Alexander Graebe
Alexander Graebe

Reputation: 797

I assume you're trying to Login using the SDK? Did you register the hash of your application's signing certificate?

To get the hash of your signing certificate, run this command with the alias of your key and path to your key store:

keytool -exportcert -alias <your_key_alias> -keystore <your_keystore_path> | openssl sha1 -binary | openssl base64

The resulting hash should be added to the Application Signature section in the Developer Dahsboard.

Can you double check if the piece is correct, please? The error should include your application signature. You can use that to compare what you entered in the dashboard.

Upvotes: 2

Related Questions