Tealium Native Mobile - 2 instances

MarcoRodrigues
Visitor
MarcoRodrigues

Hello,

I have a native android/iOS app with Tealium, but we're redoing the data layer and updating to a new profile. While we migrate, is it possible to run the app with 2 instances of Tealium?

Regards,

Marco

 

 

1 REPLY 1

Tealium Native Mobile - 2 instances

Community Manager
Community Manager

Hi @MarcoRodrigues,

Yes, this is supported. As an example, see the documentation for initializing the Tealium for Android instance. Specifically, this line:

Tealium.createInstance("INSTANCE", tealConfig);

You can create two instances, each with their own config. Then later, when making tracking calls, refer back to those instance names:

Tealium.getInstance("INSTANCE").trackView("screenName", data);

 

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.