Skip to content

AdityaWebEngage/PushTemplates

Repository files navigation

PushTemplates

How to use:

1. Add below line to the application class of your application.

WebEngage.registerCustomPushRenderCallback(CustomCallback())
WebEngage.registerCustomPushRerenderCallback(CustomCallback())

2. Go to your webengage dashboard and add below key value pairs based on your template type.

- Progress Bar Template

Key Value Use
we_custom_render true Tells the WebEngage SDK to use the custom renderer registered in the callbacks above.
template_type bar (required) Progress Bar template.
future_time epoch time in millis (required) The time till which the notification is to be shown
timer_color hex value The color for the countdown timer

- CountDown Template

Key Value Use
we_custom_render true Tells the WebEngage SDK to use the custom renderer registered in the callbacks above.
template_type timer (required) Progress Bar template
future_time epoch time in millis (required) The time till which the notification is to be shown
timer_color hex value The color for the countdown timer

Sample Key Value Pairs:

image

Progress Bar

CountDown Timer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages