Git Product home page Git Product logo

onesignal-ci's Introduction

##Onesignal implementation with codeigniter this is the repo that have onesignal as a library, this library using the v1/notifications of onesignal reference: https://documentation.onesignal.com/reference

#to use this do follow the following steps clone this repo, and copy past the files with the project folder..

  1. on Application->config->onesignal.php you can config your onesignal account details -> enable the debug flag to log the response with log file (Log file located in (root of project)/uploads/log/(todaydate.txt))

  2. include this lib on your autoload.php file

  3. now your application is ready to use the onesignal portal to send the notification..

    Simple send notification $this->onesignal->send_notification("this will be showed in notificaion", array('item1' => 'this is additional params'));

    Simple send notification to that device what and all has the tags attached $this->onesignal->send_notification("this will be showed in notificaion", array('item1' => 'this is additional params'),array(array('relation' = ' = ','key' = 'Device','value' = 'Android'))); for more details about the tags and its params refer the onesignal documentation

    Simple send notification that can be schduled in follwoing step $this->onesignal->send_notification("this will be showed in notificaion", array('item1' => 'this is additional params'),array(array('send_after' = ' 2015-09-24 14:00:00 GMT-0700 ','delayed_option' = 'timezone','delivery_time_of_day' = '9am')));

onesignal-ci's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

onesignal-ci's Issues

Tutorial

Can you please make a tutorial video to show how to integrate with an existing project

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.