OneSignal PUSH server 100% free and unlimited


Eduardo Alfaro

Hello David,

I am trying to integrate OneSignal Push Server (100% free and unlimited) into AB. You have to register with your developer ID. OneSignal has a cordova plugin: https://documentation.onesignal.com/docs/cordova-sdk and I have integrated into AB on Cordova Custom plugin with onesignal-cordova-plugin. The plug-in it is working very good, but I have a doubt getting response from JSON.

The JavaScript is using the function JSON.stringify so you can question to the user within a PUSH notification, get the answer and use in your APP ;-D. I have store the result into a AB var with: window.App.RootScope.var_push_opened = JSON.stringify(jsonData);

The mainly problem is that none of the AB array actions cannot handle the JSON.stringify

This is the var containt for JSON.stringify(jsonData)

Do you have any example with JSON.stringify done for AB? Any idea o clue for this issue?

Thank you so much!!!
Eduardo


DecSoft

Hello Eduardo,

I am not sure if can understand very well. AB offers the StrSerialize action, which relies in the "JSON.stringify" JS function, and the StrUnserialize action, which relies in the "JSON.parse" JS function. Can these actions help you in some way?


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.