473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Running the app at the background forever

We are using cordova for the development of mobile apps.

We have developed an app for iPhone.
Our business requirement is to run the app at the background and listen to our server for the updates.
We need to get the list of online users. This helps us in getting the list of online users and also in listenning to the server.

Problem:
iOS is killing the app after few minutes. I need the app to run at the background for ever.
This is a proven concept and used by lots of apps on apple store.

Please suggest me how to achieve this.
If we use Background audio then the desired result is achieved by getting rejected by the apple store.

Please suggest us a solution.

NOTE: We dont want to update our database by repeated poking to the database server and updating the table.
Jul 5 '16 #1
1 2269
Brilstern
208 100+
The Apple-approved alternatives are listed in https://developer.apple.com/library/...Execution.html

Looking at "Table 3-1 Background modes for apps", the two relevant alternatives for repeatedly getting info from a server are "Background fetch" or "remote-notification".

"remote-notification" is push notifications, which you say you don't want to use.

Therefore, "Background fetch" is the relevant choice.
Aug 24 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Lord Merlin | last post by:
Hi there Can someone please tell me how to run a script in the background? I have a stored procedure, which gathers a lot of info on various tables in a MSSQL , and from that rebulds a large...
27
by: Kevin Yu | last post by:
When I declare on HTML page <LINK href="mycss.css" type="text/css" rel=stylesheet /> .... <BODY class=myclass> in mycss.css BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY:...
8
by: Ron Holmes | last post by:
I want to place a background image on a windows form. Is there a way to prevent the image from Tiling without using an image box resized to the size of the form? I am using Visual Studio 2003...
1
by: daniel_xi | last post by:
Hi all, I am running a VS 2003 .NET project on my client machine (Win 2000 SP4, ..NET framework 1.1), running an ASP.NET application on a remote web server (Win 2000 Server, IIS 6.0, .NET...
2
by: acorn71 | last post by:
Hello, I have a background image that needs to continue to infinity. Currently, I have a band-aid solution where I've made my background image 3000px and kept it pretty small in file size with...
2
by: Devesh Sharma | last post by:
Hello Friends, is there any way to make our program as background process so that it works forever..untill computer shutdown? please tell me if you the technique..i want to make the program...
15
by: Devesh Sharma | last post by:
Hello Friends, is there any way to make our program as background process so that it works forever..untill computer shutdown? please tell me if you the technique..i want to make the program...
5
by: This | last post by:
I have a pretty basic emailing script that sends a relatively small number (150) of html emails. The emails are compiled, personalised from a mysql db subscribers list, and sent using mail() -...
5
by: EmmaEliza | last post by:
I have coded my css so that my text links have a background and border which I want to keep but I cant seem to edit the css so that my image links dont have the same thing.... ...
2
by: ruqiang826 | last post by:
hi I have written a service running backgroud to do something in linux. unfortunately$B!$(BI deleted the source code by mistake, and I can still see the process running background using "ps aux"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.