diff --git a/src/CustomerioConfig.tsx b/src/CustomerioConfig.tsx index f2ed4c99..420fb582 100644 --- a/src/CustomerioConfig.tsx +++ b/src/CustomerioConfig.tsx @@ -1,5 +1,5 @@ import { CioLogLevel, Region } from './CustomerioEnum'; -import { AndroidNotificationClickBehavior } from './types'; +import { AndroidPushClickBehavior } from './types'; /** * Configure package using CustomerioConfig @@ -19,8 +19,8 @@ class CustomerioConfig { autoTrackPushEvents: boolean = true; backgroundQueueMinNumberOfTasks: number = 10; backgroundQueueSecondsDelay: number = 30; - androidNotificationClickBehavior: AndroidNotificationClickBehavior = - AndroidNotificationClickBehavior.ActivityPreventRestart; + androidPushClickBehavior: AndroidPushClickBehavior = + AndroidPushClickBehavior.ActivityPreventRestart; } class CustomerIOEnv { diff --git a/src/types/AndroidNotificationClickBehavior.tsx b/src/types/AndroidPushClickBehavior.tsx similarity index 74% rename from src/types/AndroidNotificationClickBehavior.tsx rename to src/types/AndroidPushClickBehavior.tsx index ef34085a..791ad451 100644 --- a/src/types/AndroidNotificationClickBehavior.tsx +++ b/src/types/AndroidPushClickBehavior.tsx @@ -1,4 +1,4 @@ -export enum AndroidNotificationClickBehavior { +export enum AndroidPushClickBehavior { ResetTaskStack = 'RESET_TASK_STACK', ActivityPreventRestart = 'ACTIVITY_PREVENT_RESTART', ActivityNoFlags = 'ACTIVITY_NO_FLAGS', diff --git a/src/types/index.tsx b/src/types/index.tsx index 6e7bb3d9..a8c14ee0 100644 --- a/src/types/index.tsx +++ b/src/types/index.tsx @@ -1,3 +1,3 @@ -export * from './AndroidNotificationClickBehavior'; +export * from './AndroidPushClickBehavior'; export * from './PushPermissionOptions'; export * from './PushPermissionStatus';