Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The key hash does not match any stored key hashes in facebook react-native app

I ma working on react-native latest version 60+. I am integrate the facebook login on debug mode but get the issue error:

Error: SERVER_ERROR: [code] 1349195 [message]: The key hash does not match any stored key hashes. Go to https://developers.facebook.com/docs/facebook-login/android for more information. [extra]:

I am open the new terminal and got the key hash using is command:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

And add the bebug key hash on facebook developers. But I am get the error.

like image 604
Harleen Kaur Arora Avatar asked Nov 02 '25 22:11

Harleen Kaur Arora


1 Answers

Try to use file in android/app/debug.keystore

cd <your project>

then

keytool -exportcert -alias androiddebugkey -keystore android/app/debug.keystore | openssl sha1 -binary | openssl base64
like image 151
Tuan Luong Avatar answered Nov 04 '25 17:11

Tuan Luong