Git Product home page Git Product logo

onesignal-website-sdk's Introduction



Showing web push notifications from Chrome, Safari, and Firefox

OneSignal Web Push SDK

OneSignal is a free push notification service for web and mobile apps.

This SDK allows your site's visitors to receive push notifications from you. Send visitors custom notification content, target specific users, and send automatically based on triggers.

Getting Started

View our documentation to get started.

Please reference the OneSignal SDK on your webpage via our CDN URL (listed in our setup documentation) instead of copying the source into another file. This is because our SDK updates frequently for new features and bug fixes.

Structure

+-- assets/

Sources for web SDK. entry.js is the entry point that requires other files.

+-- src/

Sources for web SDK. entry.js is the entry point that requires other files.

+-- test/

Sources for web SDK tests. entry.js is the entry point that requires other files.

+-- dist/

Contains the production (minified & mangled) and development versions of the transpiled web SDK as well as their separate source map .map files. Also contains the OneSignalSDKTests.js file, which is the ES6-transpiled-to-ES5 tests from all the test/ source files.

Contributing

  1. git clone [email protected]:one-signal/OneSignal-Website-SDK.git
  2. npm install
  3. npm install -g gulp webpack (installs gulp and webpack globally for use)
  4. gulp

The src/ and test/ directories are watched and automatically re-transpiled when changed. The compiled SDK go to dist/. The compiled test sources go to dist/OneSignalSDKTests.js.

onesignal-website-sdk's People

Contributors

jkasten2 avatar gdeglin avatar

Watchers

Bhawesh Kumar Singh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.