-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working