Configuring Push Notifications in Android
To use Push Notification in your Cordova application you need to configure Firebase into your application, refer to the Push Notification documentation to configure Push Notification in your application.
In case, your application is handling the push token registration and push payload we highly recommend you use the native Android methods(mentioned in the documentation above) for passing the token and the payload to the SDK.
Passing Push Token
var moe = new MoECordova.init(); moe.passFcmToken()
Passing Push Payload
var moe = new MoECordova.init(); moe.passFcmPayload()
Customizing Push notification
If required the application can customize the behavior of notification by using Native Android code (Java/Kotlin). To learn more about the customisation refer to Advanced Push Configuration documentation.
Instead of extending
PushMessageListener as mentioned in the above document extend
Refer to the below documentation for Push Amp+, Push Templates, Geofence.