OneSignalSend
The extension is created years before but posting in Kodular community now.
Version 4 :What’s new
- New properties.
- Send messages to a specific user.
- Group your messages together.
Use this Extension to send one signal push notification from your app to your users.
Properties
Thanks @Juan_Antonio For this tutorial App inventor. Color de decimal a RVA RGB.
- API key of the app from which you want to send the message.
- App Id of the onesignal app from which you want to send the message.
- Accent color of the small icon.
Obtaining AppKey & AppID
-
Create a onesignal app, after setup,
-
Get your **API key **, app id from here
Methods
Method 1
Send by segments
1.Segment
- Create your own segments or use built-in
- please note the spelling and capitalization must be correct as in one signal
2.Titlte
- Notification title
3.Message
- Notification body, It is compulsory
4.Smallicon
- set your favorite icon for app icon set it to ya
5.Largeicon
- Any direct image URL or image in your app.
6.Bigpicture
- Direct URL to an image
eg:
https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/2X/5/5145f4faf5cb694627e921c78d41b4779c08c5e0.png
7.Launchurl
- Any URL to launch in the external browser.
New
8.Group message
- Send message stacking together and
9.group key is the key to stack these messages together with same group.
Method 2
1.Player id to which you want to send message
2.Titlte
- Notification title
3.Message
- Notification body, It is compulsory
4.Smallicon
- set your favorite icon for app icon set it to ya
5.Largeicon
- Any direct image URL or image in your app.
6.Bigpicture
- Direct URL to an image
eg: https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/2X/5/5145f4faf5cb694627e921c78d41b4779c08c5e0.png
7.Launchurl
- Any URL to launch an external browser.
8.Group message
- Send message stacking together and 9.group key is the key to stacking these messages together with the same group.
EVENTS
Response
- If response = 200, success
and if = 400 unsuccesfull
Notification id
- Id of notification you send.
Recipients
- No. of users received the message.
Note
To receive messages you should first install the app with the onesignal(notification) component.
Hope it can help you.
Give your feedback and suggestions.
Download & Donate
[Download or Donate from here.]
(https://checkout.chec.io/onesignal)
If you don’t wanna donate, set amount to “0”.
Thank you