I also ask the same question on Github, but i thought that this forum is more proper place to ask this question rather than the Github so i'll re-ask the question here.
I'm experiencing a problem with Split Configuration when using Split in Custom Keyboard, where our Keyboard is not getting an updated value (After changes in Dashboard, of course) if i don't open the main app to foreground.
I've been trying to trace the problem until
SplitsStorageImpl.java class where after some delay after Dashboard changes, i'm getting an update and
mInMemorySplits variable is updated with proper value. But as long as i let the main apps stay in background, whenever i'm getting value from
SplitsStorageImpl.java from Keyboard it'll still get the old non-updated value.
Currently i'm assuming that our Keyboard is not holding the same instances of
mInMemorySplits that being updated in
update() method, and because split uses local variable instead of database update (i see that database update only called in
loadLocal()), our Keyboard somehow miss the references. I'll keep trying to trace the problem on my side and get back if i got a new info.
My main question is whether there's any need for specific configuration for these cases? I'm currently toggling on all background-related config i found in https://help.split.io/hc/en-us/articles/360020343291-Android-SDK#configuration although to no result.
Our current config is as below:
Please sign in to leave a comment.