- Home /
Detect Status Bar Expanding or Low Power Notification to Pause Game?
I'm working on a game that requires some quick reflexes, and a bug reported is that the game will not pause itself when the Android status bar (or notification bar) is expanded. Another bug reported is that the game will not pause itself when the Android "low power" notification appears over the game.
Suspending the game normally works fine, since I can catch that with OnApplicationPause in Unity. However, is there any way to capture these other two events? It would be great to be able to catch this in Unity, but I'd also be interested in any info on capturing these via a plugin or something along those lines.
Your answer
Follow this Question
Related Questions
Can somebody explain the OnApplicationPause/Focus scenarios? 4 Answers
problem with checking application states on android and windows 0 Answers
opposite of OnApplicationPause -1 Answers
Does Unity call Start() when OnApplicationPause(true) 0 Answers
Android - OnPause() and OnResume() not working with OnApplicationFocus or OnApplicationPause? 1 Answer