I am using Ionic 2. I build my app for Android as follows:
ionic build android
For the Android build, I need a
SHA1 keystore for Google Authentication.
I have a
Macintosh HD/Users/myname/.android/debug.keystore, so according to these instructions, I generate a keystore using (default password ‘
keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore
The output looks correct. I use this
SHA1 to for my Android Credentials as per the above instructions:
But when I try login, I get:
error = 12501
From here I believe it’s related to not having the
SHA1 in the Google Credentials matching the
SHA1 for the Android build of the app.
SHA1 is my Android build using? How do I check if it matches the one generated above for the credentials?
from reading the following:
I understand it, that for Android, we need to put the
However, after trying this, I still get the