Skip to content

Commit

Permalink
renamed to AndroidPushClickBehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Sep 26, 2023
1 parent 847deca commit 1c109e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/CustomerioConfig.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CioLogLevel, Region } from './CustomerioEnum';
import { AndroidNotificationClickBehavior } from './types';
import { AndroidPushClickBehavior } from './types';

/**
* Configure package using CustomerioConfig
Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum AndroidNotificationClickBehavior {
export enum AndroidPushClickBehavior {
ResetTaskStack = 'RESET_TASK_STACK',
ActivityPreventRestart = 'ACTIVITY_PREVENT_RESTART',
ActivityNoFlags = 'ACTIVITY_NO_FLAGS',
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './AndroidNotificationClickBehavior';
export * from './AndroidPushClickBehavior';
export * from './PushPermissionOptions';
export * from './PushPermissionStatus';

0 comments on commit 1c109e0

Please sign in to comment.