-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New navbar item App + move Android, iOS, React Native and Expo there
This reduces the amount of items in Dev
- Loading branch information
1 parent
6cd4c0f
commit a997293
Showing
7 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: App | ||
--- | ||
|
||
## Facebook SDK | ||
|
||
How to generate Android Key hashes that you need to set in https://developers.facebook.com/apps/{app_id}/settings/basic/ | ||
|
||
It's something like `g5fGIBgB6noFO9ur78BdEr73KG6=`, ending with a '='. | ||
|
||
Information sources: | ||
|
||
- https://stackoverflow.com/questions/39051517/login-error-there-is-an-error-in-logging-you-into-this-application-please-try | ||
- https://javascript.plainenglish.io/fix-login-error-there-is-an-error-in-logging-you-into-this-application-on-facebook-login-with-237e3baba116 | ||
|
||
First you need to get the SHA-1. You can get it in different ways: | ||
|
||
- On Google Play. At the left side menu go to Setup -> App integrity, then select the tab 'App signing' | ||
- From the apk itself with `keytool -list -printcert -jarfile <my-apk-file.apk>` | ||
|
||
Once you have the SHA-1 you need to convert it to base64. There are various ways: | ||
|
||
- https://tomeko.net/online_tools/hex_to_base64.php (ignore the alert 'Warning! Non-hex characters in input string ignored') | ||
- `node -e 'console.log(Buffer.from(process.argv[1].split(":").map(hex => parseInt(hex, 16))).toString("base64"))' 'PASTE_YOUR_SHA1_HERE'` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters