Skip to content

Commit

Permalink
only change in apps
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-aman committed Sep 11, 2024
1 parent 1b29f29 commit 6baa025
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Apps/APN/src/services/CustomerIOService.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ export const initializeCustomerIoSDK = (sdkConfig) => {
const config = {
cdpApiKey: Env.cdpApiKey, // Mandatory
migrationSiteId: Env.siteId, // For migration
trackApplicationLifecycleEvents: true, // TODO: Update this to a configurable property based on settings
trackApplicationLifecycleEvents: sdkConfig.trackAppLifecycleEvents,
inApp: {
siteId: 'site_id',
}
};

if (sdkConfig.debugMode) {
config.logLevel = CioLogLevel.Debug;
}

CustomerIO.initialize(config)
};

Expand Down
2 changes: 1 addition & 1 deletion Apps/FCM/src/services/CustomerIOService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const initializeCustomerIoSDK = (sdkConfig: CustomerIoSDKConfig) => {
const config = {
cdpApiKey: Env.cdpApiKey, // Mandatory
migrationSiteId: Env.siteId, // For migration
trackApplicationLifecycleEvents: true, // TODO: Update this to a configurable property based on settings
trackApplicationLifecycleEvents: sdkConfig.trackAppLifecycleEvents,
inApp: {
siteId: 'site_id',
},
Expand Down

0 comments on commit 6baa025

Please sign in to comment.