-
Notifications
You must be signed in to change notification settings - Fork 8
Restarting the client with a different mobile key #8
Comments
misc cleanup prior to official beta release
Similarly, we sometimes do not know every single user attribute at startup. It useful if we could re-initialize the
|
@irwinb The user attributes can be changed at any time with @molnarr2 Do you mean you want to switch the entire app from one environment to the other - so that the single static instance of |
The first case where the single static instance of |
Hi @molnarr2, You're referring to the multiple environments functionality in the iOS and Android SDKs. We'll let you know when this functionality is added to the Xamarin SDK. |
Is there any update on the progress for this feature request? I am also in need of this functionality for the mobile sdk. From the Xamarin SDK doc it is stated that we can call Dispose with the following call |
@mchangenetec If you're using beta16, you're more than 4 months out of date. The documentation describes the most recent beta release, in which |
@mchangenetec Note that the package name changed after beta16 - it is now |
We are getting close to general release so we're hoping to avoid any more breaking API changes at this point. |
any progress on this? |
The 2.0 release is coming soon, but the multiple environments feature will not be in it. We may add support for that in the future, but there were a lot of other improvements we had to prioritize for 2.0. |
I am curious about this - is this a supported workflow in version 2.0.1 client sdk? I am using launch darkly in a plugin architecture, where I do not control the process lifetime and the plugin may be restarted multiple times - is it safe to dispose and re initialize the client, or does it make more sense to simply forgo the shutdown? |
@mjkkirschner Sure, it's always safe; it's just mildly inefficient because it will have to make a new HTTP connection each time, and also each time you shut it down it will have to do a blocking HTTP request to deliver any pending analytics events. |
Having a production and a test environment we need to switch between those two within the app without having to restart the app. There is currently no way to do that. This functionality is built into the iOS mobile version.
The text was updated successfully, but these errors were encountered: