{"id":19519034,"url":"https://github.com/bizz84/firebase_id_token_bug","last_synced_at":"2025-07-20T10:33:08.373Z","repository":{"id":182338054,"uuid":"668336474","full_name":"bizz84/firebase_id_token_bug","owner":"bizz84","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T16:06:08.000Z","size":243,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-14T10:52:09.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bizz84.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-19T15:04:44.000Z","updated_at":"2023-07-21T17:42:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d30b8cb-9498-4c5b-b01d-76d5db4326e9","html_url":"https://github.com/bizz84/firebase_id_token_bug","commit_stats":null,"previous_names":["bizz84/firebase_id_token_bug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bizz84/firebase_id_token_bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Ffirebase_id_token_bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Ffirebase_id_token_bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Ffirebase_id_token_bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Ffirebase_id_token_bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bizz84","download_url":"https://codeload.github.com/bizz84/firebase_id_token_bug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizz84%2Ffirebase_id_token_bug/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266111435,"owners_count":23877980,"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":[],"created_at":"2024-11-11T00:15:58.188Z","updated_at":"2025-07-20T10:33:08.309Z","avatar_url":"https://github.com/bizz84.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# firebase_id_token_bug\n\nA demo project that can be used to reproduce this issue:\n\n- [[firebase_auth] Task is not yet complete #11297](https://github.com/firebase/flutterfire/issues/11297)\n\n## How to run\n\n- Create a new project in the Firebase console and note the project ID.\n- Enable Email \u0026 Password as a sign in method\n  \nThen run these commands on the terminal:\n\n```\nflutterfire configure --project firebase-project-id\nflutter run # use Android emulator as a target device\n```\n\nOnce the app is running, register a new account using email and password.\n\nAt this point the app will crash.\n\n### Observed Output\n\n```\nI/flutter ( 7199): Force refresh ID token for UID: MqOOO0HXJcY1YrHG1USEySJJUGr1\nW/System  ( 7199): Ignoring header X-Firebase-Locale because its value was null.\nE/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken( 7199): Failed to handle message\nE/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken( 7199): java.lang.IllegalStateException: Task is not yet complete\n...\nD/AndroidRuntime( 7199): Shutting down VM\nE/AndroidRuntime( 7199): FATAL EXCEPTION: main\nE/AndroidRuntime( 7199): Process: com.example.firebase_id_token_bug, PID: 7199\nE/AndroidRuntime( 7199): java.lang.IllegalStateException: Reply already submitted\nE/AndroidRuntime( 7199): \tat io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:435)\nE/AndroidRuntime( 7199): \tat io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler$1.reply(BasicMessageChannel.java:222)\nE/AndroidRuntime( 7199): \tat io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$FirebaseAuthUserHostApi$2.success(GeneratedAndroidFirebaseAuth.java:3247)\nE/AndroidRuntime( 7199): \tat io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$FirebaseAuthUserHostApi$2.success(GeneratedAndroidFirebaseAuth.java:3244)\nE/AndroidRuntime( 7199): \tat io.flutter.plugins.firebase.auth.FlutterFirebaseAuthUser.lambda$getIdToken$1(FlutterFirebaseAuthUser.java:88)\nE/AndroidRuntime( 7199): \tat io.flutter.plugins.firebase.auth.FlutterFirebaseAuthUser$$ExternalSyntheticLambda2.onComplete(Unknown Source:2)\nE/AndroidRuntime( 7199): \tat com.google.android.gms.tasks.zzi.run(com.google.android.gms:play-services-tasks@@18.0.2:1)\nE/AndroidRuntime( 7199): \tat android.os.Handler.handleCallback(Handler.java:938)\nE/AndroidRuntime( 7199): \tat android.os.Handler.dispatchMessage(Handler.java:99)\nE/AndroidRuntime( 7199): \tat android.os.Looper.loopOnce(Looper.java:201)\nE/AndroidRuntime( 7199): \tat android.os.Looper.loop(Looper.java:288)\nE/AndroidRuntime( 7199): \tat android.app.ActivityThread.main(ActivityThread.java:7839)\nE/AndroidRuntime( 7199): \tat java.lang.reflect.Method.invoke(Native Method)\nE/AndroidRuntime( 7199): \tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\nE/AndroidRuntime( 7199): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\nI/Process ( 7199): Sending signal. PID: 7199 SIG: 9\nLost connection to device.\n```\n\n### [LICENSE: MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizz84%2Ffirebase_id_token_bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbizz84%2Ffirebase_id_token_bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizz84%2Ffirebase_id_token_bug/lists"}