Skip to content

[question]: Foreground at iOS not Working #987

Closed
@walidabdelaziz

Description

@walidabdelaziz

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

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions