Switching Intercom AppId without relaunch (Android)

  • 24 February 2021
  • 1 reply
  • 34 views

I installed the Android Intercom SDK (version 8.2) following the instructions. My app has the ability to connect to our test/QA environment as well as our production environment. We have within Intercom 2 appIds, one for production and one for testing. After the user selects which environment they will be authenticated which at that time we call Intercom.Initialize(application, apiKey, appId). Depending on the environment this is the Ids for QA or Production.

 

However in Android this switch does not occur and only uses the set of Ids it is first given on startup. Is it possible to switch within the app for Android.

 

The iOS app works as expected and does switch between production and qa.


1 reply

That is actually very nice

Reply