# Foreground service for instant notification in doze mode

**URL:** https://community.thunkable.com/t/foreground-service-for-instant-notification-in-doze-mode/3162246
**Category:** Questions about Thunkable X
**Tags:** beginner, help
**Created:** [August 27, 2024, 5:37pm UTC](https://community.thunkable.com/t/foreground-service-for-instant-notification-in-doze-mode/3162246 "2024-08-27T17:37:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ygeltmeyerhzobfj](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ygeltmeyerhzobfj/32/182943_2.png) [@ygeltmeyerhzobfj](https://community.thunkable.com/u/ygeltmeyerhzobfj)
#### Post date: [August 27, 2024, 5:37pm UTC](https://community.thunkable.com/t/foreground-service-for-instant-notification-in-doze-mode/3162246/1 "2024-08-27T17:37:13Z")

</div>

Hi all, I developed a persistent app which notifies the user instantly even when smartphone is in doze mode (FCM does not wake up the phone so “instant” notif is not possible) using a “long-polling” system calling every 30 seconds my web service.  
It is developed with windev mobile using android “persistent notifications” but I would like to make it using thunkable;any idea how this can be achieved ?  
Thanks by advance.

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [August 28, 2024, 7:10pm UTC](https://community.thunkable.com/t/foreground-service-for-instant-notification-in-doze-mode/3162246/2 "2024-08-28T19:10:25Z")

</div>

Hi ygeltmeyerhzobfj, welcome to Thunkable! 🎉

Be sure to check out [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1), the [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8), and our [Getting Started Guide](https://docs.thunkable.com/getting-started/get-started) to make the best of your Thunkable Community experience!

As an FYI, based on this article, Android 14 will allow users to dismiss non-dismissable foreground notifications.

> **[Behavior changes: all apps  |  Android Developers](https://developer.android.com/about/versions/14/behavior-changes-all#ux)**
>
> Learn about changes in Android 14 that will affect all apps.

Regardless, we do not currently have a feature for setting this up in Thunkable.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [November 26, 2024, 7:11pm UTC](https://community.thunkable.com/t/foreground-service-for-instant-notification-in-doze-mode/3162246/3 "2024-11-26T19:11:06Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
