.Net, Azure and occasionally gamedev
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.
If you did not install java yourself but let Visual Studio do it, you can check Tools -> Options -> Xamarin for the path of the JDK (defaults to: C:\Program Files\Android\jdk\microsoft_dist_openjdk_188.8.131.52).
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.