New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BackAndroid.exitApp() prevent to hide Toast message #5599
Comments
Hey exromany, thanks for reporting this issue! React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
|
yes, i met the same problem. |
1 similar comment
yes, i met the same problem. |
#5906 Looks like it will help fix this issue. |
yes, i met the same problem. |
+1 |
the same |
It looks like react-native changes the thread to run native modules. This causes toast message cannot disappear after exitApp(). I'll give a PR today. |
@facebook-github-bot close |
@janicduplessis tells me to close this issue. If you think it should still be opened let us know why. |
Summary:Run `Toast.makeText` other than UI Thread will cause bug #5599 : toast doesn't disappear after app exited. use `UiThreadUtil.runOnUiThread` to fix this. Closes #6443 Differential Revision: D3047261 fb-gh-sync-id: 0096879f2a4b4d76bda996a32089f068ae68e3f3 shipit-source-id: 0096879f2a4b4d76bda996a32089f068ae68e3f3
0.18.0
When I show Toast message and invoke BackAndroid.exitApp() while it still shown, Toast message will not be closed.
The text was updated successfully, but these errors were encountered: