Hello! I would just like to ask if it is possible for a mobile app to run in the background and wait for a certain value to reach a certain threshold. Once the threshold has been reached or even before it was reached, a push notification will alert the user that he/she is about to reach the threshold he/she has set. The mobile app basically displays data from an external database and our RPI setup sends the data to that database. I have watched a tutorial on Firebase push notification implementation but the push notifications are created manually on a web application (link to video: https://www.youtube.com/watch?v=ygbu3AITS4k), ours is more of an alarm that sets off automatically once the threshold is reached. Other plugins like OneSignal requires adding certificates for it to function. Can you guys point to the right direction on how to approach this problem. Thank you so much!

Short answer : Yes

using this plugin for background mode :


Then monitor the data in the background, trigger notification when archieve the threshold.

But I didn't understand why using OneSignal cause problem to you ?

Hi! Thank you so much for the reply. Well the background mode plugin does not have enough documentation for me to learn how it works from scratch or maybe I just don't know where the documentation is located?

About the OneSignal problem, I followed this tutorial [https://success.outsystems.com/Documentation/Development_FAQs/How_to_Use_Push_Notifications_with_OneSignal] completely and it does not seem to do the trick. I trigger the server action everytime I press a button. I can send the .oml file here just in case you want to take a look at it. Am I missing something?