wpdew / OneSignal-Codeigniter-Push-Notification

OneSignal is a free push notification service for web and mobile apps. This Codeigniter example makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com/ DEMO - http://ci3onesignal.codefort.ru/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something is missing in the source code

MawiaHL opened this issue · comments

The code on the demo and the code in the GitHub seems different. For Instance, you did not provide the router for admin in the source code while it is in the demo. So the code does not work. If a user wants to go to admin, he needs to go to http://localhost/quotes.php. When we submit the form in the subcribe.php, we also get a json string JSON sent: {"app_id":"10....}. No Notification. Please can you put the code you used in the demo. You can remove the appid and rest api key.

Regards,

The code on GitHub is fully working. This is an example of the implementation of this task. The names of methods and controllers in the demo are different. The principle is the same.
Also, in the demo, a simple authorization check is added.