OneSignal-Cordova-SDK
OneSignal-Cordova-SDK copied to clipboard
different between onesignal version 2.11 vs 3.3.0
How can we help?
Before i use onesignal version 2.11, when I push message notification, if app is focus, 1 alert popup show in center app, but when i update onesignal version 3.3.0, not show alert popup, just show in notification bar. How can i show message notification popup alert when app focus
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hello the documentation reference for this is here
i mean alert message with view now button
Were you doing something like this in your notificationReceivedHandler?
alert("Notification Received:\n" + JSON.stringify(notificationData));
You can do something similar using the setNotificationWillShowInForegroundHandler
android ok, but ios not working
any solution? I have the same issue
Can you describe the issue? Is the alert not displaying or the json not parseable?
Can you describe the issue? Is the alert not displaying or the json not parseable?
In Android if I get the push notification but I do not get the preview or sounds, only the icon remains in the notification bar, I want to show the preview of the push notification.
what kind of message popup use in version 2.11.
Hello I apologize for the late follow up is this still an issue in the latest versions?