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
If I need to test with two app ids in the same session, I should be able to switch between the two multiple times within that same session.
e.g.
MobileCore.configureWithAppId(appId1) -> set appId1
MobileCore.configureWithAppId(appId2) -> set appId2
MobileCore.configureWithAppId(appId1) -> set appId1
Actual Behaviour
MobileCore.configureWithAppId(appId1) -> set appId1
MobileCore.configureWithAppId(appId2) -> set appId2
MobileCore.configureWithAppId(appId1) -> still appId2 ❗
Reproduce Scenario (including but not limited to)
Issue seems to be caused by this config expiry check which caches the first appId1 set date and does not account for this scenario.
You might also need to consider clearing the expiry cache on configureWithAppId(null / "")
Steps to Reproduce
Platform and Version
Android, Core/Config v3.2.0
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered:
Expected Behaviour
If I need to test with two app ids in the same session, I should be able to switch between the two multiple times within that same session.
e.g.
MobileCore.configureWithAppId(appId1) -> set appId1
MobileCore.configureWithAppId(appId2) -> set appId2
MobileCore.configureWithAppId(appId1) -> set appId1
Actual Behaviour
MobileCore.configureWithAppId(appId1) -> set appId1
MobileCore.configureWithAppId(appId2) -> set appId2
MobileCore.configureWithAppId(appId1) -> still appId2 ❗
Reproduce Scenario (including but not limited to)
Issue seems to be caused by this config expiry check which caches the first appId1 set date and does not account for this scenario.
You might also need to consider clearing the expiry cache on configureWithAppId(null / "")
Steps to Reproduce
Platform and Version
Android, Core/Config v3.2.0
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: