i need define custom segments through application using onesignal. want know if possible.
for example, when initialize application need way send custom segments onesignal api like:
createcustomsegment({key:"cars", value:"cars"});
if segment doesn't exists creates , subscribe user. if exists, subscribe.
if not possible, theres way can add user segment through application?
onesignal segments can created on dashboard, can setup them specific tag keys , values. use window.plugins.onesignal.sendtags tag device app.
instead of creating segments can use 'tags' field on onesignal create notification rest api call.
Comments
Post a Comment