Tweaks values not loading until an activity is stopped and resumed
See original GitHub issueWe have a teak defined in app and on mixpanel and the experiment is joined and mixpanel lib continue to return the default value until we move app to background or open some other activity and com back to the previous activity. ie: until pause/stop or start/resume lifecycle events on the main activity the uses that tweak are called.
Mixpanel lib version 4.9.3
.
Let me know if you need more info.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:13 (2 by maintainers)
Top Results From Across the Web
The activity lifecycle | Android Developers
When your activity enters the Stopped state, the Activity object is kept resident in memory: It maintains all state and member information, but ......
Read more >Firefox/Tweaks - ArchWiki - Arch Linux
The "tweaks" are the backbone of the content related to Firefox, so they should be directly on the main page. The troubleshooting section ......
Read more >Pausing and Resuming an Activity | Android Developers - MIT
During normal app use, the foreground activity is sometimes obstructed by other visual components that cause the activity to pause.
Read more >Refreshing activity / "performing stop of activity that is not ...
When calling your gps.showSettingsAlert();//inside this use startActivityForResult(new Intent().setClass(this, MainActivity.class), result_code);.
Read more >Calendar Tweaks With Highschool Years EA added...
On default all forced Exam/Prom Calendar Events are disabled until you “allow” them to be added. Be aware already added Exam/Prom Calendar ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
But the experiment is already joined I can see that in the logs but first time it always gives the default value of tweak and the the tweak value is not retained across app restarts, as far as I know only andorid SDK has these issues I talked to iOS developer he said they don’t face these issues. I would suggest to keep this thread open and try to have some good default implementation.
any update guys! let me know how can help or if you need more info/context.