Problem
There are multiple scenarios in which you can cause the Android HybridApp to just display a white screen.
Home Button
- Open HybridApp when
tryNewDot.classicRedirect.dismissed == true
- Hit home button
- Reopen app 💥
Back Button
- Open HybridApp when
tryNewDot.classicRedirect.dismissed == true
- Hit back button 💥
Solution
- For the home button, we should reopen the NewDot UI when HybridApp is just backgrounded
- For the back button, we should close the entire HybridApp when we hit the back button and NewDot is the "root" UI
cc @staszekscp @mateuuszzzzz