Flutter / FCM notifications not arriving on Codemagic iOS build #2064
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceI'm trying to build a Flutter app for both Android and iOS. I've been implementing push notifications using Firestore Cloud Messaging (FCM) and it works for both Android and iOS when I'm testing on a simulator (Android) or on a connected physical device (iOS). However, when I built the app for the client to test (using Codemagic), the push notifications were not working on iOS (it does on Android). If it works on my development environment but not on Codemagic, everything is configured correctly except for Codemagic's build, right?? I did check the profile and the certificate generated by Codemagic and they were properly configured with Push Notifications. I set Codemagic after setting FCM and testing it on a local environment (and succeeding), so it should have worked I guess Expected resultsPush Notification should come for both Android and iOS build. Actual resultsPush Notification is coming in the Android build but not on the iOS build. However, I am getting push notifications when I am running the App on my real device but through codemagic build I am not getting push notifications. Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @Aditya-QSS, do push notifications work when you build ipa locally and upload it to Testflight? |
Beta Was this translation helpful? Give feedback.
@himesh-cm The issue is with the dev and prod environment firebase config mismatch.