You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To track when a user clicks on a notification from your custom notification inbox or list, use the `trackInboxClicked()` method available in the Notification class.
Copy file name to clipboardExpand all lines: docs/sdks/flutter/methods.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ title: Methods
7
7
8
8
To initialize the CleverPush SDK, use the following method.
9
9
10
-
CLEVERPUSH_CHANNEL_ID (String): Your unique CleverPush channel ID. This ID is required to link the app with your CleverPush account.
10
+
**CLEVERPUSH_CHANNEL_ID (String)**: Your unique CleverPush channel ID. This ID is required to link the app with your CleverPush account.
11
11
12
-
setInitializedHandler: A listener that handles the event when the CleverPush SDK initialization is completed. Returns success (bool) and an optional failureMessage (String?) if initialization fails.
12
+
**setInitializedHandler**: A listener that handles the event when the CleverPush SDK initialization is completed. Returns success (bool) and an optional failureMessage (String?) if initialization fails.
13
13
14
-
setNotificationReceivedHandler: A listener that handles the event when a notification is received. The notificationReceived method is triggered with a CPNotificationReceivedResult object containing the details of the received notification. It fires when notifications have been received.
14
+
**setNotificationReceivedHandler**: A listener that handles the event when a notification is received. The notificationReceived method is triggered with a CPNotificationReceivedResult object containing the details of the received notification. It fires when notifications have been received.
15
15
16
-
setNotificationOpenedHandler: A listener that handles the event when a notification is opened. The notificationOpened method is triggered with a CPNotificationReceivedResult object containing the details of the opened notification. It fires when notifications have been opened.
16
+
**setNotificationOpenedHandler**: A listener that handles the event when a notification is opened. The notificationOpened method is triggered with a CPNotificationReceivedResult object containing the details of the opened notification. It fires when notifications have been opened.
17
17
18
-
setSubscribedHandler: A listener that handles the event when a user subscribes. The subscribed method is triggered with the subscriptionId. it fires when the user has successfully been subscribed.
18
+
**setSubscribedHandler**: A listener that handles the event when a user subscribes. The subscribed method is triggered with the subscriptionId. it fires when the user has successfully been subscribed.
Copy file name to clipboardExpand all lines: docs/sdks/react-native/methods.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ title: Methods
7
7
8
8
To initialize the CleverPush SDK, use the following method.
9
9
10
-
CLEVERPUSH_CHANNEL_ID (String): Your unique CleverPush channel ID. This ID is required to link the app with your CleverPush account.
10
+
**CLEVERPUSH_CHANNEL_ID (String)**: Your unique CleverPush channel ID. This ID is required to link the app with your CleverPush account.
11
11
12
12
**received**: A listener that handles the event when a notification is received. The notificationReceived method is triggered with a NotificationOpenedResult object containing the details of the received notification. It fires when notifications have been received.
0 commit comments