Waiting for Background app running in Ionic like Alaram app


#1

Iam waiting for at least in new ionic2 Background app running plugin
Like alaram it should have to run background even app terminates from recent lists.
and it should have a feature to talk to database and it should notify user when new data comes
Thank you


#2

And your question is … ?


#3

Its not a Question basically,
Thing is so far i think there is no background plugin, so iam requesting ionic guys if they can create this plugin in next versions that will be usefull for us.
if you found any plugin releated to this please let me know
Thank you


#4

These exist:
https://ionicframework.com/docs/native/background-mode/
https://ionicframework.com/docs/native/background-geolocation/
https://ionicframework.com/docs/native/background-fetch/

This is probably impossible as “Alarm” is a system app with special priviledges you don’t get.

This is better solved by having a push notification sent from the backend to the device on database changes.


#5

Hi Thanks for suggesting
Iam already aware of these but these wont work even app close.
That is what my intention is
I want to know how to achive this even app terminates.

Thank you


#6

If an app is not running, it can not do anything.

That’s why push notifications exist to notify your app and device about things that happened and that the user should start the app.


#7

Well whatever you are saying 100% correct, But something like alaram we cant achive in Hybrid?
Then How alaram app is working


#8

I quote myself:

We can discuss further if you have examples of normal apps downloaded from the App Store that have this magic functionality you want.


#9

A post was split to a new topic: I want to tell how the app was launched - whether by user, or programmatically