I don’t think it’s possible with normal events. You may have to try it with javascript (sorry I don’t know it so I can’t help with that) but there is an extension called popups, where you can make popups/errors appear on the screen.
yes🙏 i add the extension, and i place my key, thanks you!
How can I request permission for an notifications from the user as soon as enter to the application?
Hello,
Thank you for your amazing contribution.
I am trying to integrate the extension but somehow I am not able to register new subscribers.
I followed the guide bellow
1/ Activate Firebase Cloud Messaging API (V1)
2/ Generate a Private Key JSON file (Node.js)
3/ Activate the platform Google Android (FCM) in OneSignal (In the part “Select SDK” I tried both Native android and Cordova)
4/ Download and import the extention in Gdevelop (Onesignal GDevelop Extension · GitHub)
5/ Integrate it as follow :
Beginning of the first scene >
Request Notification Permission : TRUE
Initialize Onesignal (My app ID + user must consent TRUE)
I tried the application using mobile manual build and mobile One-click packaging. I tested the .apk in a real phone and in android studio virtual devices (with playstore installed).
I checked, the notification is allowed.
But still, when I launch the application no new subscriber is registered in OneSignal.
Thank you in advance for your precious time.
Hello, I also cannot seem to get this to work… Would you possibly be able to make a video on this topic that we can follow? It would be greatly appreciated. I specifically would want a push notification to be sent to one phone if someone on a different phone sneds them something. I understand your time is valueable so if you cannot make a video on this topic it is not a problem.
Even if I did get this to work, I’m not sure I understand how to even send a push notification with the actions available with the extension… is this extension capeable of sending push notifications in IOS/ Andriod when a player is completely offline? I would like the push notifications to be sent out if another player initiated it (like you could “nudge” your friend to get on). Any guidance on this topic would be very appreciated and I appreciate the work youve already done in the Gdevelop community