Enabling Push Notifications

Push notifications in App

Enabling Push Notifications requires enabling of the premium WPLMS Push notifications addon. It uses firebase as a backend service for sending push notifications. The push notification is enabled as a touch point in WP Admin – LMS – Settings – Touch point.

Make sure the push notifications is working fine in the site, esp. in Google chrome browser. Next you need to enable push notifications in the config.ts

You need to grab the sender ID from the firebase project and put it in config.


 

Next, you need to install, push notifications plugin and IOnic native dependency :

ionic cordova plugin add phonegap-plugin-push
npm install --save @ionic-native/[email protected]

See its working video here :