Generic Passes support two types of notifications, you can configure either:
- Upcoming notification
- Expiry notification
Upcoming notification
Upcoming notifications appear to the user 24 hours before the time interval starts.
When the upcoming notification is configured, a notification with the title
“genericObject.cardTitle
is available now” and subtitle “View pass” will appear to the user.
To configure upcoming notifications, set the boolean value UpcomingNotification.enabledNotification
to true
.
Expiry notification
Expiry notifications appear 48 hours before the end of the time interval.
When the notification is configured, a notification with the title
“genericObject.cardTitle
expires in [x] days” and subtitle “View pass” will appear to the user.
To configure upcoming notifications, set the boolean value
ExpiryNotification.enabledNotification
to true
.