Skip to content

Notifications Plugin

YouPHPTube edited this page Aug 2, 2019 · 11 revisions

To enable notifications you are required to acquire the Notification plugin here

Notification by email

make sure your email is properly configured, if you are not sure how to do it, follow this

Browser notification and mobile app notification

Web Push Platforms and Native App Platforms

OneSignal

We choose the OneSignal because it gives you for a free account: Unlimited Web & Mobile Push Notifications and 30K web Subscribers

They are also very clear on their requirements and how to configure it.

To enable this service on the Notification plugin you will need to provide us the following:

  • oneSignalEnabled

Check the option above

  • oneSignalAPPID:
  • oneSignalRESTAPIKEY:

For the items above access the site https://app.onesignal.com, and follow the instructions here https://documentation.onesignal.com/docs/accounts-and-keys

  • oneSignalFIREBASE_SENDER_ID:

This is required for Android notifications, access the Firebase site https://firebase.google.com/, and then follow the instructions here https://documentation.onesignal.com/docs/generate-a-google-server-api-key

After that, all other work must be done on the OneSignal site

For iOS notifications, I follow this tutorial, but Option A: Try out our Automatic Provisioning Tool does NOT work for me. I had to use Option B: Create Certificate Request Manually

Important, do not forget to upload the OneSiganl SDK to your site root if you select full https

You will need to download the OneSignal SDK files and upload them to the top-level root of your site directory.

Clone this wiki locally