Notifications In iOS Have Unsteady Behavior !
-
I implement FCM (firebase_messageing) to sent
APNSTokenfor ios platforms and Token for android. -
As below code :
- final fcmToken = Platform.isIOS ? await firebaseMessaging.getAPNSToken() : await firebaseMessaging.getToken();
-
In Android Platforms 💯
- Everything Is FINE, In the foreground when I sent a message from the intercom, the message was shown as bottom ovrlay, and in the background sent as push notifications. 🥳
-
In iOS Platforms 🤕
- In the background shown as push notifications without any issues, BUT In the foreground there is Unsteady Behavior sometimes show and sometimes Not show.
intercom package version
intercom_flutter: ^6.0.0
platform :ios, '13.0'
@Shatha-Naami I believe iOS also will show the bottom banner if the app is in the foreground.
could you please share the reproducible sample? Maybe video recording of the issue will help too. Also please write to Intercom support if you think that the issue is in Intercom iOS SDK.
I'm having the same issue, if you have the app opened, it just doesn't receive the push notification, it happens only on iOS for me.
do you have this parameter IntercomAutoIntegratePushNotifications in info.plist?
Make sure this is not added or if present then it must be with the value YES.
https://developers.intercom.com/installing-intercom/docs/ios-push-notifications#step-4-handling-intercom-push-notifications