Skip to content

Commit

Permalink
(PC-34095) feat(batch): fix update SDK (#7555)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeneston-pass authored Jan 21, 2025
1 parent 3b4b966 commit ad613a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/PassCulture/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}

// Setup Batch
NSString* AssociatedDomain = [ReactNativeConfig envFor:@"WEBAPP_V2_DOMAIN"];
[BatchSDK setAssociatedDomains:@[AssociatedDomain]];
[BatchEventDispatcher addDispatcher:[BatchFirebaseDispatcher instance]];
[RNBatch start];
[BatchUNUserNotificationCenterDelegate registerAsDelegate];
[BatchUNUserNotificationCenterDelegate sharedInstance].showForegroundNotifications = true;

// react-native-lottie-splash-screen
Expand Down

0 comments on commit ad613a2

Please sign in to comment.