{"id":16076002,"url":"https://github.com/b2evandro/logincomfirebase","last_synced_at":"2026-04-07T20:32:40.737Z","repository":{"id":172143564,"uuid":"433196928","full_name":"b2evandro/logincomfirebase","owner":"b2evandro","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-29T21:11:13.000Z","size":271,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T07:45:36.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b2evandro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-11-29T21:05:24.000Z","updated_at":"2021-11-29T21:11:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"d912bf03-f946-4981-a285-aa4daa8464ea","html_url":"https://github.com/b2evandro/logincomfirebase","commit_stats":null,"previous_names":["b2evandro/logincomfirebase"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b2evandro/logincomfirebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Flogincomfirebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Flogincomfirebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Flogincomfirebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Flogincomfirebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b2evandro","download_url":"https://codeload.github.com/b2evandro/logincomfirebase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Flogincomfirebase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":[],"created_at":"2024-10-09T09:23:57.834Z","updated_at":"2026-04-07T20:32:40.709Z","avatar_url":"https://github.com/b2evandro.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Login com o google\n\nO objetivo do projeto é realizar é buscar os dados do usuário com OAuth2 do google.\n![gif](https://user-images.githubusercontent.com/55710708/143943034-cc4073be-bd30-4247-a947-70f7c2282d29.gif)\n\n## Passos\n- Criando App\n- Instalar dependencia\n- Criar projeto no Firebase\n\t- criar app no firebase\n\t- baixar json \n- Buscar dados\n\n## Criando App\nInicie um aplicativo em `react-native`usando o seguinte comando\n```sh\n#exemplo\n# npx react-native init \u003cNOMEDOSEUAPP\u003e \u0026\u0026 cd \u003cNOMEDOSEUAPP\u003e\nnpx react-native init applogingoogle \u0026\u0026 cd Google applogingoogle\n```\n\n## Instalar dependencia\n\nPara estilos e também o firebase precisaremos das seguintes dependencias:\n- @react-native-community/google-signin\n- @react-navigation/native\n- @react-navigation/stack\n- react\n- react-native\n- react-native-gesture-handler\n- react-native-safe-area-context\n- react-native-vector-icons\n\n```sh\nyarn add @react-native-community/google-signin @react-navigation/native @react-navigation/stack  react-native-gesture-handler react-native-safe-area-context react-native-vector-icons\n```\nou \n```sh\nnpm install @react-native-community/google-signin @react-navigation/native @react-navigation/stack  react-native-gesture-handler react-native-safe-area-context react-native-vector-icons\n```\n\n## Criar projeto no Firebase\n\nApós criar um projeto no firebase e criar o app é necessário substituir o arquivo na pasta `android/app`\n![image 1](https://user-images.githubusercontent.com/55710708/143943573-3c0cfe3c-4510-4797-88d5-6689c1f7e656.png)\n\n## Buscar dados\n \n Depois de baixado o arquivo pode visualizar o `webClientId` e inser no código \n\n ```jsx\nimport { GoogleSignin } from '@react-native-community/google-signin';\n...\n\nfunction Routes() {\n  useEffect (() =\u003e { \n    // inicializa o Google SDK \n    GoogleSignin.configure ({ \n      webClientId: '\u003cSEU webClientId\u003e', \n    }); \n  }, []); \n  return (\n    \u003c\u003e\n ...\n  \u003c/\u003e\n  );\n}\n\nexport default Routes;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2evandro%2Flogincomfirebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb2evandro%2Flogincomfirebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2evandro%2Flogincomfirebase/lists"}