- Open index.html, update your pushbots application Id and domain URL:
//PushBots ApplicationId (required)PB.app_id = "";
//Your domain name, must be HTTPS or localhost (required)
PB.domain = "https://www.";
-
Open pushbots-push-manifest.json, update your google Project number in gcmsenderid field.
-
open pushbots-worker.js and add your pushbots application Id.
To set alias or tags for your users:
PB.q.push(["tag", ['test', "test3"]]);
PB.q.push(["alias", "username"]);
PB.q.push(["untag", ['test', "test3"]]);