[SOLVED] flutter: Authentication failed -ERROR: Invalid token.. Try again later #7319
-
Firebase Phone Auth is working in simulator and not working in real device. already i created an apn key in developer.apple.com and add that in firebase and enabled background mode and check fetch, process and background. GTMSessionFetcher invoking fetch callbacks, data {length = 252, bytes = 0x7b0a2020 22657272 6f72223a 207b0a20 ... 5d0a2020 7d0a7d0a }, error Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data={length = 252, bytes = 0x7b0a2020 22657272 6f72223a 207b0a20 ... 5d0a2020 7d0a7d0a }, data_content_type=application/json; charset=UTF-8} flutter doctor -v [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [✓] Android Studio (version 4.2) [✓] VS Code (version 1.62.0) [✓] Connected device (3 available) • No issues found! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved issue by uploading APN KEY to firebase. |
Beta Was this translation helpful? Give feedback.
Solved issue by uploading APN KEY to firebase.