Hi Team,
I have the requirement to sent the data to two different "org_id's" by using AEP Mobile SDK. I found the good documentation for multiple Web SDK instances.
In the similar way Mobile SDK will support the multiple Mobile SDK instances. if yes could you please share the Adobe documentation for Mobile SDK.
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @vinayababu
In Adobe Experience Platform , the Environment File ID plays a crucial role in identifying which organization the data belongs to when using the AEP Mobile SDK. The Environment File ID is associated with a specific Adobe Experience Cloud organization (org_id
) and contains configuration settings necessary for tracking and data collection.
When you need to send data to two different organizations using the AEP Mobile SDK, you will have to set up two distinct Environment File IDs. Each ID corresponds to a specific organization and its associated configuration. Here’s how you can manage this setup:
Identify Your Environment File IDs:
Dynamic Switching of Environment File IDs:
MobileCore.configureWithAppID()
method or MobileCore.updateConfiguration()
method to load the specific configuration based on your requirements.Here’s an example approach to implement this in your mobile application:
// Step 1: Configure and send data to Organization 1
MobileCore.configureWithAppID("environment-file-id-org1");
// Code to send data to Organization 1
// ...
// Step 2: Switch to Organization 2
MobileCore.configureWithAppID("environment-file-id-org2");
// Code to send data to Organization 2
// ...
Sequential Data Sending: The AEP Mobile SDK can only maintain one active configuration at a time, which means you’ll be sending data sequentially to each organization. Ensure that events for one organization are sent and processed before switching to the other configuration.
Avoiding Data Conflicts: Manage the timing of your configuration switches to avoid potential data overlap or confusion in the events being sent.
Hope it will help you!
Kr,
Parvesh
Hi @vinayababu
In Adobe Experience Platform , the Environment File ID plays a crucial role in identifying which organization the data belongs to when using the AEP Mobile SDK. The Environment File ID is associated with a specific Adobe Experience Cloud organization (org_id
) and contains configuration settings necessary for tracking and data collection.
When you need to send data to two different organizations using the AEP Mobile SDK, you will have to set up two distinct Environment File IDs. Each ID corresponds to a specific organization and its associated configuration. Here’s how you can manage this setup:
Identify Your Environment File IDs:
Dynamic Switching of Environment File IDs:
MobileCore.configureWithAppID()
method or MobileCore.updateConfiguration()
method to load the specific configuration based on your requirements.Here’s an example approach to implement this in your mobile application:
// Step 1: Configure and send data to Organization 1
MobileCore.configureWithAppID("environment-file-id-org1");
// Code to send data to Organization 1
// ...
// Step 2: Switch to Organization 2
MobileCore.configureWithAppID("environment-file-id-org2");
// Code to send data to Organization 2
// ...
Sequential Data Sending: The AEP Mobile SDK can only maintain one active configuration at a time, which means you’ll be sending data sequentially to each organization. Ensure that events for one organization are sent and processed before switching to the other configuration.
Avoiding Data Conflicts: Manage the timing of your configuration switches to avoid potential data overlap or confusion in the events being sent.
Hope it will help you!
Kr,
Parvesh
Thank you Parvesh for detailed information. Could you please share any adobe documentation if available.
Thank you
Vinaya Babu
Views
Replies
Total Likes
Hello @vinayababu ,
As far as I checked, I did not find any official documentation regarding this matter.
The solution I have shared is a workaround, so I would suggest checking with the Adobe team before implementing it. This way, you can ensure that they will support you in the future if any issues arise.
Kind regards,
Parvesh
Views
Replies
Total Likes
Okay Parvesh, Thank you.
Thanks and Regards
Vinaya Babu
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies