# System alert prompts

**URL:** <https://forum.defold.com/t/system-alert-prompts/16771>\
**Category:** Feature requests (USE GITHUB)\
**Created:** [February 12, 2018, 2:37pm UTC](https://forum.defold.com/t/system-alert-prompts/16771 "2018-02-12T14:37:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![therondevelopment](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/therondevelopment/32/7791_2.png) [@therondevelopment](https://forum.defold.com/u/therondevelopment)\
**Post date:** [February 12, 2018, 2:37pm UTC](https://forum.defold.com/t/system-alert-prompts/16771/1 "2018-02-12T14:37:18Z")

</div>

There should be a way to prompt a system-specific ‘alert’ or ‘confirmation’ modal, like this in xcode: [UIAlertController | Apple Developer Documentation](https://developer.apple.com/documentation/uikit/uialertcontroller) . Similar to push notifications described here: [iOS and Android push notifications in Defold](https://www.defold.com/manuals/push/) , but only triggered within the app (so the app does not require push notification permissions).

If this is already available, please link me to the documentation and I will close this question, thanks!

---

<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:** [February 12, 2018, 3:05pm UTC](https://forum.defold.com/t/system-alert-prompts/16771/2 "2018-02-12T15:05:31Z")

</div>

No, there is no support for native system alerts, but it should be possible to add via a native extension. Do you need it to be a native dialog or could it work with one created as a Defold gui?

---

<div class="post-metadata">

**Author:** ![therondevelopment](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/therondevelopment/32/7791_2.png) [@therondevelopment](https://forum.defold.com/u/therondevelopment)\
**Post date:** [February 12, 2018, 4:11pm UTC](https://forum.defold.com/t/system-alert-prompts/16771/3 "2018-02-12T16:11:00Z")

</div>

A defold GUI to act as an alert or confirmation would be fairly straightforward to make, but I think it’s a good idea to leverage system level components whenever possible to create a user experience that’s familiar and predictable for the player. It also eliminates the need to create an additional art asset (along with corresponding animations, button colors, feedback, etc.) that matches the game theme.

---

<div class="post-metadata">

**Author:** ![Pkeod](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pkeod/32/606_2.png) [@Pkeod](https://forum.defold.com/u/Pkeod)\
**Post date:** [February 12, 2018, 4:28pm UTC](https://forum.defold.com/t/system-alert-prompts/16771/4 "2018-02-12T16:28:26Z")

</div>

For games, this kind of prompt is not what you want. You want alerts which match the game theme. There are several community resources already made which can handle popups.

---

<div class="post-metadata">

**Author:** ![endel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/endel/32/41246_2.png) [@endel](https://forum.defold.com/u/endel)\
**Post date:** [August 10, 2018, 6:14pm UTC](https://forum.defold.com/t/system-alert-prompts/16771/5 "2018-08-10T18:14:52Z")

</div>

This would be useful for alert about system updates, for example. Just sharing my interest on this feature here 🙂

---

<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:** [August 10, 2018, 10:20pm UTC](https://forum.defold.com/t/system-alert-prompts/16771/6 "2018-08-10T22:20:58Z")

</div>

I think the consensus was that system alerts should be styled to fit the game and by that it’s better to implement as a normal GUI popup and not an actual native dialog of some kind. Are you actually interested in native popups?
