Mobsted provides Push capabilities to both Android and iOS users. Each user can make a choice of how to accept Push. In a Still way, how Push is delivered are different.
The panel below shows how to send
Getting User Permissions to send Push
First. You need to designate users accessing your app.
sflvnefl
Second. You need to setup Push request widgets.
which will record the permission, which channel each user chooses and
Sending Messages through multichannel Push API
To address any of your users, who gave permission to receive Push notification you only need one API method:
POST https://ppp-admin.mbst.xyz/api/v8/object/sendpush
{ "applicationId": 1, "extId": "100500", "title": "Hello", "message": "It`s message to object - #Object:id#" }
{
"applicationId": 1,
"extId": "100500",
"title": "Hello",
"message": "It`s message to object - #Object:id#"
}
For authenticating your sending party you can use static basic auth keys, which you can find here:
Or dynamic JWT keys, which you can find here:
Step-by-step guide
Related articles