OneSignal-Flutter-SDK
OneSignal-Flutter-SDK copied to clipboard
[question]: Foreground at iOS not Working
trafficstars
How can we help?
WARNING: OSNotificationLifecycleListener:onWillDisplayNotification timed out. Display was not called within 25.000000 seconds. Continue with display notification: 0 VERBOSE: finishProcessingNotification: Fired! VERBOSE: Notification display type: 0 VERBOSE: notificationReceived called! opened: NO VERBOSE: onesignalUserNotificationCenter:willPresentNotification:withCompletionHandler: VERBOSE: onesignalUserNotificationCenter:willPresentNotification:withCompletionHandler: Fired! WalidAbdelaziz_5459 sent a message VERBOSE: OSNotificationWillDisplayEvent.preventDefault called.
OneSignal.Notifications.addForegroundWillDisplayListener((event) {
print('Foreground Notification: ${event.notification.title}');
event.preventDefault();
event.notification.display();
});
I got those and notifications is never shown at foreground at iOS while it's working at android anda t background I receive it at iOS
Code of Conduct
- [X] I agree to follow this project's Code of Conduct