Notification
GluedIn SDK provides API methods to fetch the list of all notifications. Use below code:
Class Name: NotificationInteractor
fun getNotificationsList(
request: NotificationRequest,
result: (Throwable?, NotificationInfo?) -> Unit
) = Unit
Below are the defined cases for push notification where we need to open the feed screen with single video:
- Case: Like
- Case: Comment
- Case: Tagging
- Case: Inactive
val localIntent = Intent()
localIntent.data = "content=content_id".toUri()
gluedInConfigurations.validateAndLaunchGluedInSDK(
this,
GluedInConstants.LaunchType.APP,
localIntent,
)
In case of comment and reply, add the below params along with content id
localIntent.data = "content=&commentId=&replyId=".toUri()