Onesignal Push
All Blocks
Documentation
This event raises when user get subscribed to onesignal.
These events are for notification handling.
Events for handling external user id response.
This event raises when all tag fetched from onesignal.
Events for handling notification API repsonse.
Initialize the onesignal with given app id.
Blocks for getting subscription info of the user.
These blocks allow you to clear the notifications.
Blocks for working with user’s data tags.
Set the external user id of the current player/user. This is optional and usable feature from the onesignal. This block is not present in kodular so I decided to add it in the extension.
Ask the notification permission in android 13. If the device is not android 13 then nothing would happen. However, you can only ask the permission once if the user denied it then you can not ask the permission again. If this permission is not granted then your user will not receive notifications in android 13.
Blocks for sending notification to different segments.
For setting the user email
Usage
You must have to initialize the onesignal before doing anything.
When the user will be subscribed this event will be raised…
Then you can send notification to yourself or anyone.
That's all you have to do for setting up the Onesignal in your apps.
Screenshots
This extension works in all AI2 distros(Tested in AI2, Kodular and Niotron with android 12, 11, 10, 9, 7).
Note: This extension is created with jar so in app messaging of Onesignal is not possible with this extension.
Downloads
You can download this extension from AI2 Store.