From 57af2b6fbb15ad41cb2c550eeb959585dcfd10c4 Mon Sep 17 00:00:00 2001 From: Rehan Date: Fri, 6 Oct 2023 11:49:18 +0500 Subject: [PATCH] updated default value --- .../io/customer/messagingpush/MessagingPushModuleConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/messagingpush/src/main/java/io/customer/messagingpush/MessagingPushModuleConfig.kt b/messagingpush/src/main/java/io/customer/messagingpush/MessagingPushModuleConfig.kt index 8d7d13240..a4bbef9c0 100644 --- a/messagingpush/src/main/java/io/customer/messagingpush/MessagingPushModuleConfig.kt +++ b/messagingpush/src/main/java/io/customer/messagingpush/MessagingPushModuleConfig.kt @@ -1,7 +1,7 @@ package io.customer.messagingpush import io.customer.messagingpush.config.PushClickBehavior -import io.customer.messagingpush.config.PushClickBehavior.ACTIVITY_NO_FLAGS +import io.customer.messagingpush.config.PushClickBehavior.ACTIVITY_PREVENT_RESTART import io.customer.messagingpush.data.communication.CustomerIOPushNotificationCallback import io.customer.sdk.module.CustomerIOModuleConfig @@ -25,7 +25,7 @@ class MessagingPushModuleConfig private constructor( private var autoTrackPushEvents: Boolean = true private var notificationCallback: CustomerIOPushNotificationCallback? = null private var redirectDeepLinksToOtherApps: Boolean = true - private var pushClickBehavior: PushClickBehavior = ACTIVITY_NO_FLAGS + private var pushClickBehavior: PushClickBehavior = ACTIVITY_PREVENT_RESTART /** * Allows to enable/disable automatic tracking of push events. Auto tracking will generate