This is a design issue and needs to change.
We should revert the change made by
If an app developer wants a broadcast receiver to keep running when backing out, then they should set up the root window's exitOnClose property to false so that the UI and broadcast receiver will continue to run in the background as shown in "Work-Around 1" down below (or alternatively use "Work-Around 2" solution). This also makes the app work more like iOS.
Android services has this same problem. See:
Steps to reproduce:
1. Build and run the below code on Android.
2. Back out of the app.
3. Re-launch the app.
4. Notice that you're stuck on the splash screen. (This is the issue.)
For the 1st window you open, set it's exitOnClose property to false like the below. This prevents the back button from closing your root window and makes the app work more like iOS. It also allows the broadcast receiver to operate in the background without issue. This is the best solution.
Override the root window's "androidback" event and use an intent to home-out of the app. This is similar to the work-around 1 solution where the root window is not closed and the broadcast receiver will continue to run in the background. Again, this makes your app effectively work like iOS.
Unregister the broadcast receiver when the root window is being closed. This is best if you don't need to run it while in the background.