You can enable and disable nudge® notifications in the app by using the function setNudgeEnabled below. This is typically done where your app manages its settings.
myNudge.setNudgeEnabled(isNudgeEnabled: isEnabled)
Key:
myNudge: This would be your instance of nudge created when initializing the libraryisNudgeEnabled(Boolean): Programmatic way to enable or disable Nudge libraryTrue: nudge library is enabled and the app user will receive nudge notificationsFalse: nudge library is disabled and the app user will not receive nudge notifications
Comments
0 comments
Article is closed for comments.