# Detect notifications on Android/iOS

**URL:** <https://forum.defold.com/t/detect-notifications-on-android-ios/65906>\
**Category:** Questions\
**Created:** [July 27, 2020, 2:20pm UTC](https://forum.defold.com/t/detect-notifications-on-android-ios/65906 "2020-07-27T14:20:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [July 27, 2020, 2:20pm UTC](https://forum.defold.com/t/detect-notifications-on-android-ios/65906/1 "2020-07-27T14:20:31Z")

</div>

Is it possible to get notified when the screen area is blocked by a notification? In my game a WhatsApp message is likely to cause a game over.

I’m pausing the game on [window.WINDOW\_EVENT\_FOCUS\_LOST](https://defold.com/ref/stable/window/#window.WINDOW_EVENT_FOCUS_LOST). Would be great to do the same when messages appear and rudely obscure gameplay.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [July 27, 2020, 2:44pm UTC](https://forum.defold.com/t/detect-notifications-on-android-ios/65906/2 "2020-07-27T14:44:45Z")

</div>

It’s probably possible to detect, but it would require some research. If you can find code or examples of how to detect it I would be happy to take a look.
