{"id":20330247,"url":"https://github.com/sabo99/firebaseauth-google","last_synced_at":"2025-10-19T10:50:58.528Z","repository":{"id":170699172,"uuid":"438493810","full_name":"sabo99/FirebaseAuth-Google","owner":"sabo99","description":"Firebase Authentication with Google Account \u0026 Kotlin Programming Android Studio","archived":false,"fork":false,"pushed_at":"2021-12-17T04:47:18.000Z","size":862,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T15:20:31.675Z","etag":null,"topics":["android-studio","firebase-auth","firebase-google-authentication","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/sabo99.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-12-15T04:29:05.000Z","updated_at":"2024-05-16T15:12:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"69c1e92d-373b-4558-bb6e-f11dbec84725","html_url":"https://github.com/sabo99/FirebaseAuth-Google","commit_stats":null,"previous_names":["sabo99/firebaseauth-google"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabo99%2FFirebaseAuth-Google","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabo99%2FFirebaseAuth-Google/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabo99%2FFirebaseAuth-Google/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabo99%2FFirebaseAuth-Google/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sabo99","download_url":"https://codeload.github.com/sabo99/FirebaseAuth-Google/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844974,"owners_count":20029752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["android-studio","firebase-auth","firebase-google-authentication","kotlin"],"created_at":"2024-11-14T20:15:41.603Z","updated_at":"2025-10-19T10:50:53.484Z","avatar_url":"https://github.com/sabo99.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://img.icons8.com/color/48/000000/firebase.png\"/\u003e Firebase Authentication with Google Account\n\nAuthentication Android application using \u003ca href=\"https://firebase.google.com/\"\u003e`Firebase`\u003c/a\u003e with the login system using **Google Account**\n\n### **App Features Firebase Authentication with Google Account** :\n\n-   **_Firebase_**\n    -   Authentication with **`Google Account`**\n\n## Important!\n\n### Add Firebase to your Android project go to \u003ca href=\"https://firebase.google.com/docs/android/setup\"\u003e`Firebase Setup`\u003c/a\u003e\n\n\u003cbr\u003e\n\n## Design UI App Firebase Authentication with Google Account\n\n### **`Preview Firebase Auth with Google Account`**\n\n\u003cimg src=\"Screenshot_App/Screenshot 2021-12-15 110852.png\" height=\"500\"/\u003e\n\n### **`Preview UI FirebaseAuth-Google`**\n\n|        Name Page        |                         Preview UI                         |\n| :---------------------: | :--------------------------------------------------------: |\n|         `Home`          | \u003cimg src=\"Screenshot_App/1639540868951.jpg\" height=\"500\"/\u003e |\n|   `Choose an Account`   | \u003cimg src=\"Screenshot_App/1639540868941.jpg\" height=\"500\"/\u003e |\n|    `Account created`    | \u003cimg src=\"Screenshot_App/1639540868949.jpg\" height=\"500\"/\u003e |\n| `Account already exist` | \u003cimg src=\"Screenshot_App/1639540868947.jpg\" height=\"500\"/\u003e |\n|       `Sign out`        | \u003cimg src=\"Screenshot_App/1639540868944.jpg\" height=\"500\"/\u003e |\n\n\u003cbr\u003e\n\n## Result on Firebase Console\n\n### **`Authentication`**\n\n\u003cimg src=\"Screenshot_App/Screenshot 2021-12-15 112505.png\"/\u003e\n\n\n\u003cbr\u003e\n\n## Dependencies used\n\n```groovy\n    /** Firebase*/\n    implementation platform('com.google.firebase:firebase-bom:29.0.1')\n    implementation 'com.google.firebase:firebase-analytics-ktx'\n    implementation 'com.google.firebase:firebase-auth-ktx'\n    implementation 'com.google.android.gms:play-services-auth:20.0.0'\n\n```\n\n### Integration Step Used Binding in Kotlin\n\n1. Add **viewBinding `true`** \u003ca href=\"./app/build.gradle\"\u003e`build.gralde (Module)`\u003c/a\u003e\n\n```groovy\nandroid {\n   ...\n   buildFeatures {\n      viewBinding true\n   }\n}\n```\n\n2. Activity Kotlin Class\n\n```kotlin\nclass MainActivity : AppCompatActivity() {\n\n    /** Add this */\n    private lateinit var binding: ActivityMainBinding\n\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        /** Add this */\n        binding = ActivityMainBinding.inflate(layoutInflater)\n\n        /** Change this */\n        setContentView(binding.root)\n\n        /** Without findViewById */\n        binding.textView.text = \"Bye bye findViewById\"\n    }\n}\n```\n\n3. Activity Java Class\n\n```java\npublic class MainActivity extends AppCompatActivity {\n\n    /** Add this */\n    private ActivityMainBinding binding;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        /** Add this */\n        binding = ActivityMainBinding.inflate(getLayoutInflater());\n\n        /** Change this */\n        setContentView(binding.getRoot());\n\n        /** Without findViewById */\n        binding.textView.setText(\"Bye bye findViewById\");\n    }\n}\n```\n\n**binding** in kotlin can be used directly without initializing **findViewById** on widgets in layout xml","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabo99%2Ffirebaseauth-google","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabo99%2Ffirebaseauth-google","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabo99%2Ffirebaseauth-google/lists"}