trackUserPushPreference
Deprecated
Push opt-in is now tracked automatically at the device level from the OS notification permission state. This method is no longer required and the call can be removed. This method will be removed in 16.00.00.
Set user's push preference.
Deprecated: Push opt-in is now tracked automatically at the device level from the OS notification permission state. This method is no longer required and the call can be removed. If user level consent must be recorded for compliance reasons, track it as a custom user attribute instead.
Since
12.0.00
Parameters
Instance of Context
true if push is enabled, else false.
Throws
if the SDK is not initialized.
Deprecated
Push opt-in is now tracked automatically at the device level from the OS notification permission state. This method is no longer required and the call can be removed. This method will be removed in 16.00.00.
Set user's push preference.
Deprecated: Push opt-in is now tracked automatically at the device level from the OS notification permission state. This method is no longer required and the call can be removed. If user level consent must be recorded for compliance reasons, track it as a custom user attribute instead.
Since
12.0.00
Parameters
Instance of Context
true if push is enabled, else false.
Account identifier, APP ID on the MoEngage Dashboard.
Throws
if the SDK is not initialized.