Extension OneSignalSend

extension

#1

OneSignalSend image

Inspired from @Lml_DLGdo

This is an small extension to send onesignal notification from your app itself.

  • Create an onesignal app, after setup,
  • Get your api key , app id from here
    image

image

Extension
image

  • *MANDATORY

Set appid, apikey as got from onesignal to extension

Segment
Create your own segments or use buit in
image

please note the spelling and capitalisation must be correct as in onesignal

Titlte
Notification titile

Message
Notification body , It is combulsory

Accent colour
Sets the background color of the notification circle.
Eg (Red): FFFF0000

Smallicon
set your favourite icon for app icon set it to ya

Largeicon
Any direct image url or image in your app.

Bigpicture
Direct url to an image
eg:http://community.appybuilder.com/uploads/default/original/1X/a882570298864c0e39fe84b7fda82a876f1d9a92.png
Launchurl
Any url

OneSignalSend download

com.jerin.onesignalsend.aix (9.5 KB)

Donate

Please don’t forget to donate

Thank you

Jerin Jacob


OneSignalPlus | Get PlayerID, Send Push, Add Tag, etc [Donation]
Push Notification question
OneSignalPlus | Send Push to Specific PlayerID [Paid - Donation]
#2

@Jerin_Jacob great. Does that use a php script??


#3

NO , it’s not

Jerin Jacob


#4

Yes. Typo. Fixed post.

What I meant is that: does your extension invoke a server php script to send notification? I think your answer in no.


#5

This is excellent! exactly what i need. However how do I check if it is listening already?


#6

Useful extension.
Are you planing to include the “LED COLOR” and “SOUND”?
Thank you.


#7

I will look into it .


#8

When try ext i receveid " no MEthod named ‘Send’


#9

Maybe red code is FF0000 not FFFF0000 :slight_smile:


#10

Great extension. @Jerin_Jacob I am using this in combination with @wanttobe chat extension for a chat application. Is there a way to exempt the sender device from receiving the push notification.

Right now, I am thinking the only way is to unsubscribe the sender just before you send the push and subscribe again after push is sent.


#11

There are two ways,

  1. Create blok (like button or menu) to Set subscription to false.
  2. Use User tags

#12

I have tried the first option and set subscription to false before I send notification but i still get notification because i think it takes a little while before unsubscription is registered.

There is no user tags in the OneSignalSend extension. How do I use this?


#13

That is so really very great so much :smiley:

Thank you from wkwkland.


#14

have you read this page ?


#15

Hello, I am a beginner and would need a complete example of an application that uses the com.jerin.onesignalsend.aix extension. A single screen to send text to another application. To complete the information of the Forum. Please inform the cost of this.


#16

Can a screen be opened?