Expand my Community achievements bar.

SOLVED

Production app sending events in the debug app bucket

Avatar

Level 1

Hello,

 

The iOS app I'm working on has AdobeMobileLibrary v4.16.1 and uses two configuration files, one for production builds and one for debug builds.

 

Debug config file (ADBMobileConfig.json):

{

"rsids": "my-rsid-dev",
"ssl": false

}

 

Production config file (ADBMobileConfig-Prod.json):

{

"rsids": "my-rsid",
"ssl": true

}

 

When the app starts, for production builds I override the default configuration file with ADBMobileConfig-Prod.json. The problem is that all the events are still going into the debug bucket, even if the requests are encrypted. This suggests that the prod configuration file is loaded, because ssl is enabled only in the prod json.

 

Can you please make me understand why the events are sent in the debug bucket?

 

Thank you,

Alex

 

AdobeMobileLibrary version used: 4.16.1

1 Accepted Solution

Avatar

Correct answer by
Level 1

Problem was caused by executing the config file override in the next run loop in didFinishLaunchingWithOptions.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

Problem was caused by executing the config file override in the next run loop in didFinishLaunchingWithOptions.