This is a migrated thread and some comments may be shown as answers.

Background Fetch

2 Answers 77 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Zinc
Top achievements
Rank 1
Zinc asked on 16 Jul 2014, 04:56 AM
Hi,

I need to make an app that continues to run in the background on iPhones and is going to use websockets to pull data from a server.  Depending on the data received it will then communicate with a bluetooth peripheral device.  So, reading the iOS documentation, this looks like the background mode of "background fetch" to keep the app alive and receive data updates.  How do I do this with AppBuilder?  Is there a plugin that I can use?

About background fetch:

https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html

2 Answers, 1 is accepted

Sort by
0
Zinc
Top achievements
Rank 1
answered on 16 Jul 2014, 06:03 AM
And what background mode under the iOS setting in AppBuilder is "background fetch"? Accessories?
0
Zdravko
Telerik team
answered on 18 Jul 2014, 10:02 AM
Hi,

You can add any modes you need directly in your Info.plist file if they are not available in iOS properties page. Please find below the structure you should use:

<key>UIBackgroundModes</key>
<array>
    <string>fetch</string>
</array>

I hope it helps.

Regards,
Zdravko
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
General Discussion
Asked by
Zinc
Top achievements
Rank 1
Answers by
Zinc
Top achievements
Rank 1
Zdravko
Telerik team
Share this question
or