Onesignal Push

Released on : 15 Jun 2021

Last Updated on : 15 Jun 2021

Latest Version : 15 Jun 2021

All Blocks
blocks
blocks
Documentation
image

This event raises when user get subscribed to onesignal.

image

These events are for notification handling.

image

Events for handling external user id response.

image

This event raises when all tag fetched from onesignal.

image

Events for handling notification API repsonse.

image

Initialize the onesignal with given app id.

image

Blocks for getting subscription info of the user.

image

These blocks allow you to clear the notifications.

image

Blocks for working with user’s data tags.

image

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.

image

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.

image

Blocks for sending notification to different segments.

image

For setting the user email

Usage
image

You must have to initialize the onesignal before doing anything.

image

When the user will be subscribed this event will be raised…

image

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).

82ce5128ce10c05cf7882c4862bb104b4292c729

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.