You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there, as we migrated to MixPanel 7.4.0, I found some issues in our code.
For instance, the serverURL that we would set in the MPConfig were not being used in the library. We were able to solve this by using the MixPanelAPI wrapping methods t o access the currently used MPConfig, but not without some pain for our devs (We used MPCofing.getInstance to set the serverURL and it was hard to detect the issue) and product folks (we lost weeks of data).
I would like to recommend allowing passing a MPConfig instance to MixPanelAPI.getInstance and deprecating the methods from MixPanelAPI that just do the forwarding to the internal instance. This would expose only one proper way of setting MPConfig values.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello there, as we migrated to MixPanel 7.4.0, I found some issues in our code.
For instance, the serverURL that we would set in the MPConfig were not being used in the library. We were able to solve this by using the MixPanelAPI wrapping methods t o access the currently used MPConfig, but not without some pain for our devs (We used MPCofing.getInstance to set the serverURL and it was hard to detect the issue) and product folks (we lost weeks of data).
I would like to recommend allowing passing a MPConfig instance to
MixPanelAPI.getInstance
and deprecating the methods from MixPanelAPI that just do the forwarding to the internal instance. This would expose only one proper way of setting MPConfig values.Thank you.
The text was updated successfully, but these errors were encountered: