Closed rlee1990 closed 3 months ago
That error happens if firebase fails to initialize. Could you verify you have a google-services.json file located in the app directory for android and that your package name matches what is expected for the FCM project?
@rlepinski yes the google-services.json file is located in the app directory under Android. The package name is an exact match. I even did a test push from firebase and it came through.
could you provide your merged manifest? Its in app/build/intermediates/merged+_manifests directory
@rlepinski here they are output-metadata.json
@rlepinski I just emailed it to you
Preliminary Info
What Airship dependencies are you using?
airship_flutter: ^7.4.0
What are the versions of any relevant development tools you are using?
I am using VSCode with Flutter Channel stable, 3.19.2
Report
What unexpected behavior are you seeing?
I am receiving the below error when the app is loaded. It shows the device in the dashboard but that it is opted out even though I added all the code to enable it and push notifications have been enabled.
What is the expected behavior?
For the android device to be opted in and receive push notifications that are sent.