Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different between onesignal version 2.11 vs 3.3.0 #878

Closed
1 task done
vietmaki opened this issue Apr 13, 2023 · 9 comments
Closed
1 task done

different between onesignal version 2.11 vs 3.3.0 #878

vietmaki opened this issue Apr 13, 2023 · 9 comments

Comments

@vietmaki
Copy link

vietmaki commented Apr 13, 2023

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

  • I agree to follow this project's Code of Conduct
@emawby
Copy link
Contributor

emawby commented Apr 13, 2023

Hello the documentation reference for this is here

@emawby emawby closed this as completed Apr 13, 2023
@vietmaki
Copy link
Author

i mean alert message with view now button

@emawby
Copy link
Contributor

emawby commented Apr 13, 2023

Were you doing something like this in your notificationReceivedHandler?
alert("Notification Received:\n" + JSON.stringify(notificationData));

You can do something similar using the setNotificationWillShowInForegroundHandler

@emawby emawby reopened this Apr 13, 2023
@vietmaki
Copy link
Author

android ok, but ios not working

@xJosee
Copy link

xJosee commented Apr 14, 2023

any solution?
I have the same issue

@emawby
Copy link
Contributor

emawby commented Apr 14, 2023

Can you describe the issue? Is the alert not displaying or the json not parseable?

@xJosee
Copy link

xJosee commented Apr 14, 2023

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.

@vietmaki
Copy link
Author

what kind of message popup use in version 2.11.

@emawby
Copy link
Contributor

emawby commented Nov 3, 2023

Hello I apologize for the late follow up is this still an issue in the latest versions?

@nan-li nan-li closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants