Skip to content

PushBots web notifications for Chrome and firefox.

Notifications You must be signed in to change notification settings

pushbots/web-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

  1. 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.";
  1. Open pushbots-push-manifest.json, update your google Project number in gcmsenderid field.

  2. 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"]]);

About

PushBots web notifications for Chrome and firefox.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages