.Net, Azure and occasionally gamedev

Android Signing Key

2017/10/28

Just a quick one today.

Google Firebase provides app services such as push notifications, sign-in and app invites for your app.

The later requires you to add your certificate fingerprint to work.

While the topic looks helpful I stumbled over a few problems.

The command as described wouldn't run at first:

keytool -exportcert -list -v -alias androiddebugkey -keystore "C:\Users%username%\AppData\Local\Xamarin\Mono for Android\debug.keystore"

For me the keytool was not in the path by default but is in the Java bin (defaults to: "C:\Program Files (x86)\Java\jdk1.8.0_131\bin"). After adding it it ran.

The next hurdle was the debug store since it required a password but I never set one. Turns out the default password for it is "android".

Once I extracted the debug thumbprint I also made sure to extract my release certificate that I manually created:

keytool -exportcert -list -v -keystore "C:\Users%username%\AppData\Local\Xamarin\Mono for Android\Keystore<name>\<name>.keystore"

After uploading the thumbprints I was able to use OAuth with google sing-in.

tagged as Android and Firebase