Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Debug Signing in Visual Studio 2017 Preview #40

Closed
shainefisher opened this issue Sep 26, 2017 · 1 comment
Closed

Debug Signing in Visual Studio 2017 Preview #40

shainefisher opened this issue Sep 26, 2017 · 1 comment

Comments

@shainefisher
Copy link

I know this isn't maintained any longer, but it might help someone who is having a similar issue to me in the future.
If I build this project in VS 2015/2017 it honours the signing settings in the project file, in my case c:\Users\dev.android\debug.keystore, which is great, and auth works perfectly.
I decided to test this in the new Preview release of VS 2017 15.4.0 Preview 2, and it has the strangest behaviour. The compiler will switch randomly at build time between my debug.keystore, the project debug.keystore, and the default Xamarin debug.keystore. I only noticed because I was bored and watching the compiler this morning.

Executing: C:\Program Files\Java\jdk1.8.0_121\bin\jarsigner.exe -keystore "C:\Users\dev\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar "C:\Users\dev\AppData\Local\Temp\5i2m1e0q.tki\unaligned.jar" "C:\Users\dev\AppData\Local\Temp\5i2m1e0q.tki\unsigned.apk" androiddebugkey

I only mention this because I did not know that Xamarin had it's own debug.keystore, there is no way this is listed in the projects settings anywhere. It's something to be wary of when you are putting your store fingerprints in Firebase.

Thanks

@shainefisher
Copy link
Author

Closing as it's not an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant