Thank you for your help.
We are delivering push notifications from MONACA's IDE, but the behavior is different depending on the pattern.
Is there anyone who fits the same phenomenon?
A: Destination to debugger & starting debugger
Alert display in monaca.cloud.Push.setHandler
B: To and not to debugger
Message Display =>Application Launch =>Alert Display in monaca.cloud.Push.setHandler
C: To the app & starting the app
No display
D: For apps & no apps started
Message Display=>Application Launch
It's okay to behave differently depending on the pattern, but especially the C pattern above is not allowed.
If you have any information, please let me know.
Self-resolved.
There was a problem with the code below, but
monaca.cloud.Push.setHandler(function(data){
alert(data.message);
});
Resolved by making the following changes:
monaca.cloud.Push.setHandler(test);
function test(data){
alert(data.message);
}
© 2024 OneMinuteCode. All rights reserved.