Make a HTTP GET request from iOS device from background task
NickName:nisal malinga Ask DateTime:2018-03-26T11:16:32

Make a HTTP GET request from iOS device from background task

I want to perform a scheduled background task from iOS device for perform an Http GET API call to my backend server. I went through iOS background tasks documentations, and I found out Background fetch will be a good solution for this problem. But according to the documentation they are not allowing to schedule these kind of tasks in background. I want to know that is there any work around for this?

Copyright Notice:Content Author:「nisal malinga」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/49483426/make-a-http-get-request-from-ios-device-from-background-task

More about “Make a HTTP GET request from iOS device from background task” related questions

Make a HTTP GET request from iOS device from background task

I want to perform a scheduled background task from iOS device for perform an Http GET API call to my backend server. I went through iOS background tasks documentations, and I found out Background f...

Show Detail

HTTP Request as background task with local notifications in iOS

If you aren't that into Android, there's something called a "background-service" for the applications in that OS. Which basically gives the developer a opportunity to make some background tasks wit...

Show Detail

How to get mobile device data from a http request?

I've built a web api that is called via an application (iOS/Android) through HTTP requests. I'm trying to implement a GET request that returns different data based on the device, OS, application ve...

Show Detail

Make HTTP Get request in iOS with params

I want to make an HTTP GET request from my iOS client and place in the request params. I have written code that performs a POST request, where it was very easy to use setHTTPBody to place a NSData*

Show Detail

how to make a faked Android/ios http post request from desktop

Is there a way to make a faked http post request from desktop, but looks like from a real iOS/Android hardware(i.e. iPhone 5s 6.7 square inches, Samsung Galaxy 5.1-inch)? I have no clue what’s the

Show Detail

Make http request from local device using DialogFlow

I'm a newbie to DialogFlow and I don't event know if what I want to achieve is possible. I'm trying to create a DialogFlow intent that would make an HTTP request from the user device after receivi...

Show Detail

Http request from iOS push notification action when app is in background

My iOS application can receive push notifications with action buttons: Button tap sends post http request via UrlSession and data task. It works well when application is suspended or not running. ...

Show Detail

ios 13 objective-c background task request

I've got a question with objective-c and background task request. Restricted to background modes with ios 13. My App does not run in the background more than 30 seconds. Background modes changed...

Show Detail

Xamarin IOS background task on a schedule

I am writing a Xamarin application that needs to download and upload data on a schedule. Currently the task is working fine on Android by using the Android Foreground Service along with the Notific...

Show Detail

How to open the app from the background task in iOS?

Is it possible to open an app from a background task in iOS? I want my app to run in the background, and I want it to reappear for whatever reason without user input. Is this possible? In Android...

Show Detail