SDK Methods
Manually Triggering the Permission Dialog
await PushSDK.showNativeNotificationPermissionPrompt(completion: (granted, status, error) {
print('User accepted permissions: $granted');
});
Adding Attributes to a Subscriber's Profile
await PushSDK.UserProfile.set('interests', ['politics', 'news']);await PushSDK.UserProfile.setData({
'is_paying_subscriber': true,
'interests': ['politics', 'news']
});Activity Tracking (URL / Screen Visits)
Retrieving Your Anonymous Push ID
Setting the Subscriber's External ID
Determining if a Visitor is Already Subscribed
Determining if a Visitor is Eligible to Prompt
Permanently Delete a User
Setting the SDK Log Level
Last updated