CrossGeeks / FacebookClientPlugin

Facebook Client Plugin for Xamarin iOS and Android
MIT License
106 stars 32 forks source link

[Android] Question: App Signing #40

Closed stesvis closed 5 years ago

stesvis commented 5 years ago

Hello,

I am sorry I have a problem with step #4 here: https://github.com/CrossGeeks/FacebookClientPlugin/blob/master/docs/FacebookPortalSetup.md

I generated the hash using the keystore I use to publish the app (the upload certificate). And it works great when I run the app from VS. But once published, I get the facebook error message: image

In my facebook app settings I don't have that hash key that they mention: image

Any ideas why it would fail?

I copied that key hash in the error message and added it to the fb settings, and it fixed it, but I still don't understand how this works. Shouldn't I be able to generate it?

rdelrosario commented 5 years ago

It failed because the application was signed with a different keystore. Every keystore generates a different hash.