{"id":22208295,"url":"https://github.com/steenhansen/react-native-google-signin-verified","last_synced_at":"2026-05-18T15:08:01.935Z","repository":{"id":149759927,"uuid":"529932737","full_name":"steenhansen/react-native-google-signin-verified","owner":"steenhansen","description":"Bare bones example of React Native Android using Gmail to authenticate a user, and then verify the same user on a Node.js backend server","archived":false,"fork":false,"pushed_at":"2024-05-10T22:00:53.000Z","size":57397,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-31T12:40:08.117Z","etag":null,"topics":["google-signin","react-native","server-verification","skeleton-application"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steenhansen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-28T17:31:13.000Z","updated_at":"2024-05-10T22:00:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b463c46-1501-47e2-ac48-12a3a7b022ea","html_url":"https://github.com/steenhansen/react-native-google-signin-verified","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steenhansen/react-native-google-signin-verified","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Freact-native-google-signin-verified","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Freact-native-google-signin-verified/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Freact-native-google-signin-verified/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Freact-native-google-signin-verified/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steenhansen","download_url":"https://codeload.github.com/steenhansen/react-native-google-signin-verified/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Freact-native-google-signin-verified/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33181841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-signin","react-native","server-verification","skeleton-application"],"created_at":"2024-12-02T19:17:24.503Z","updated_at":"2026-05-18T15:07:59.352Z","avatar_url":"https://github.com/steenhansen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Verified Google Signin for React Native on Android\n\n\u003ca name=\"s\"\u003e\u003c/a\u003e\n\u003ca name=\"fast-start\"\u003e\u003c/a\u003e\n\nThis is a bare bones example of React Native Android using Gmail to\nauthenticate a user, and then verify the same user on a Node.js\nbackend server.\n\n\n\nThis example is a stripped down copy of https://github.com/invertase/react-native-firebase-authentication-example\n\nFirebase React Native bindings are not used, but are left in place.\n\n\n\n\u003e ⚠️ [Please be sure your environment is set up correctly for React Native CLI.](https://reactnative.dev/docs/environment-setup)\n\n\n-------------------------------\n\n\n## Step A\nCreate C:/the-project/android/app/debug.keystore with keytool.exe\n\n```bash\nPS C:/the-project/android/app\u003e keytool -genkeypair -v -storetype PKCS12 -keystore debug.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000\nEnter keystore password:yer-keystore-password\n```\nPut 'yer-keystore-password' into /keystore.REAL.properties twice \n\n-------------------------------\n## Step B\nGet SHA1 and SHA256 values of keystore\n\n```bash\nPS C:/the-project/android/app\u003e keytool -keystore debug.keystore -list -v\nEnter keystore password:yer-keystore-password\nCertificate fingerprints:\n         SHA1: 21:21:21:21:21:21:21:21:21:21:21:21:21:21:21:21:21:21:21:21\n         SHA256: a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7:a7\n```\n-------------------------------\n## Step C\nPut SHA1 and SHA256 into  https://console.firebase.google.com/project/yer-project-name/settings/general/android:com.yer-project-name\n\nProject | Your Apps | Android Apps | Add fingerprint\n\n![](/C-sha1-sha256-android.png)\n\n-------------------------------\n## Step D\nGet webClientId from your Firebase project's authentication provider.\n\nGo to : https://console.firebase.google.com/project/yer-project-name/authentication/providers\n\nProject | Authentication | Sign-in method | Provider - Google| Web SDK Configuration\n\nCopy \"703366983526-rqp153lgutts5rhlhit133tuv77p0pja.apps.googleusercontent.com\"\n\nPaste value into /src/config.json\n\n![](/D-web-client-id.png)\n\n\n-------------------------------\n## Step E\nGet google-services.json into /android/app/\n\nGo to : https://console.firebase.google.com/project/yer-project-name/settings/general/android:com.yer-project-name\n\n  Project | Your Apps | Android Apps | google-services.json | DOWNLOAD file\n\n-------------------------------\n## Step F\n\nChoose support email in yer-project-name\n\nGo to : https://console.firebase.google.com/project/yer-project-name/settings/general/android:com.yer-project-name\n\n-------------------------------\n## Step G\n\nReplace every 'fonecook3' instance in the project with yer-project-name.\nI advise using only lowercase letters and numbers for your project name; no dashes either.\n\nFor example /src/app.json\n\n     \"name\": \"fonecook3\",    ==\u003e  \"name\": \"yer-project-name\",\n\nFor example /android/app/build.gradle\n\n      applicationId \"com.fonecook3\"    ==\u003e  applicationId \"yer-project-name\"\n\n\n-------------------------------\n## Step H\n\n```bash\nPS C:/the-project\u003e yarn install\n```\n\n-------------------------------\n\n## USB Run:\n\n  Bash 1\n\n```bash\nPS C:/the-project\u003e yarn start\n```\n\n  Bash 2\n\n```bash\nPS C:/the-project\u003e adb devices\n                   List of devices attached\n                   52109e7dea7f2495        device\n                   7dea7f249552109e        device\n\n                   adb -s 52109e7dea7f2495 reverse tcp:8081 tcp:8081\n\n                   yarn android\n```\n\n## EMLUATOR Run:\n\n  Bash 1\n\n```bash\nPS C:/the-project\u003e yarn start\n```\n  Bash 2\n\n```bash\nPS C:/the-project\u003e yarn android\n```\n\n  Open in browser\n    http://localhost:8081/debugger-ui/\n\n-------------------------------\n## Release Build\n```bash\nPS C:/the-project/android\u003e ./gradlew assembleRelease\n```\n\nMakes installable APKs that run without USB in [/android/app/build/outputs/apk/release/](/android/app/build/outputs/apk/release/)\n\nThe only permission used is Internet.\n```XML\n\u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n```\n\n-------------------------------\n\n## Possible Errors and Fixes\n\nERROR - EADDRINUSE: address already in use :::8081\n  \n  FIX - npx kill-port 8081\n\n\nERROR - java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_CONFLICTING_PROVIDER: Scanning Failed.: Can't install because provider name com.facebook.app.FacebookContentProvider355198514515820 (in package com.STEENHANSEN.FONECOOK3) is already used by com.steenhansen.phonerecipes\n\n  FIX - adb uninstall com.STEENHANSEN.FONECOOK3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Freact-native-google-signin-verified","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteenhansen%2Freact-native-google-signin-verified","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Freact-native-google-signin-verified/lists"}