Closed beqramo closed 3 years ago
I had a similar issue. You can fix this issue by adding the firebase-iid dependency:
implementation("com.google.firebase:firebase-iid")
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Push Notifications
Amplify Categories
notifications
Environment information
Describe the bug
Hi, I can't run an application on android, it throws this error. I found something similar like this https://github.com/aws-amplify/amplify-js/issues/2643#issuecomment-523610933 but it wasn't a solution.
on IOS it works as expected.
Expected behavior
it should not crash on get token
Reproduction steps
configure project and just run it on android
Code Snippet
Log output
aws-exports.js
Manual configuration
No response
Additional configuration
No response
Mobile Device
Pixel 3
Mobile Operating System
android 11
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots