OneSignalPush notification tutorial

tutorial
howto

#61

In Appybuilder (Appinventor) there is a possibility to read incoming data.
The only ExtraKey that AI/AB look for is “APP_INVENTOR_START”.

“To pass a startup text value to the App Inventor app you are starting with the Activity Starter, ise EXTRAS to set the KEY property to the string APP_INVENTOR_START and set the VALUE Property to the text you want to pass. The other app can then retrieve this value with Get Start Plain Text. To return a value from the other app, use Close Screen With Plain Text.”
http://ai2.appinventor.mit.edu/reference/other/activitystarter.html

I have tried in Onesignal with the Additional Data key-value combination {“APP_INVENTOR”:“123456789”} but Appybuilder does not see the Onesignal key-value incoming data, or it is not right sent by Onesignal. I do not know how to test if the Onesignal message contains the “APP_INVENTOR” data, sent in the message.


#62

Hy, I am using OneSignal notifications to notify users of the need to update their app.
I would like to, once they click on the notification message, they would immediately be directed to Google Store and possibly to the app to be updated.

Can it be done?
Thanks


#63

@Appsbeheerder why don’t you try it with APP_INVENTOR_START ?
Taifun


#64

From OneSignal Dashboard:

From my extension just fill launchurl
blocks