I'm upgrading our code from 4.x to the Adobe Experience Platform. We're using iOS and Swift.
We used to use the json file method for configuration.
Based on the recommendation in the documentation we're now using the following configuration function:
ACPCore.configure(withAppId: "??????")
But what is the correct process for supporting offline analytics (E.g. if the json file above configuration method fails because the user is offline)
do we call both in the following order?
ACPCore.configure(withAppId: "??????")
ACPCore.configureWithFile(inPath: filePath)
The wording in the documentation mentions "replace or complement" with regards to a bundled json file
"You can include a bundled JSON configuration file in your app package to replace or complement the configuration that was downloaded by using the Configure with Launch App ID approach."
Just wondering if anyone has any clarification on how to handle this.
Cheers
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
You would want to use this example: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/configuration#sample-configurat... to build your configuration, scraping the values from your Launch configuration: https://assets.adobedtm.com/PASTE-LAUNCH-ENVIRONMENT-ID.json
These directions discuss using a bundled config: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/configuration#using-a-bundled-f...
The bundled config will be used until the app gets a network connection, after which the remote Launch configuration will be downloaded and cached.
You would want to use this example: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/configuration#sample-configurat... to build your configuration, scraping the values from your Launch configuration: https://assets.adobedtm.com/PASTE-LAUNCH-ENVIRONMENT-ID.json
These directions discuss using a bundled config: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/mobile-core/configuration#using-a-bundled-f...
The bundled config will be used until the app gets a network connection, after which the remote Launch configuration will be downloaded and cached.
Views
Like
Replies