B4i Tutorial Background Fetch (Downloads) - Erel    
May 3, 2016   
(4 reactions)Background fetch feature allows applications to run for a short period of time (up to 30 seconds) while in the background.
The steps required to use this service are:
1. Add the fetch mode...
link: Updated main.m for compatibility with B4i v10+.
The import line changed to:
#import <iCore/iCor...
link: Deprecated ?
https://developer.apple.com/documentation/uikit/uiapplication/1623100-setminimumbackgr...
link: Please start a new thread for this question....
B4i Question BLE and Background Fetch - Filippo    
Jul 31, 2025Hi,
can you use "Background Fetch" with BLE to receive data in the background for a short period of time?
If so, how does it work?
Thank you in advance for your response....
link: the Application_FetchDownload event will be raised. You should start the BLE task there. Do remember that it will only...
link: and the Application_FetchDownload event will be raised. You should start the BLE task there. Do...
B4i Question Some questions about Background Fetch - susu    
Jul 30, 2015Hi,
My app used Background Fetch to get "Deal of the Day" info from my server. If... As NativeObject = App
no.RunMethod("setMinimumBackgroundFetchInterval:", Array(5... Background Fetch code in any module or I need to put it in Main module?
2. Do I need to insert Background Fetch code in Application_Start or I can put it anywhere?
3. How to remove Icon Badge Number...
link: 1) Main module.
2) You can call setMinimumBackgroundFetchInterval from anywhere you like.
3) App...
B4i Question Is Background Fetch still available? - aminoacid (first post)    
Nov 5, 2024
Background fetch should still work. You need to store the counter value in a file and load it each time that the app starts.
Yes, it does work. Sorry I forgot to update this thread. Since I posted this, I received 22 notifications (the counter does increment) over a period of 5 days...
link: Background fetch should still work. You need to store the counter value in a file and load it each...
link: I have been experimenting with Background Fetch as per the instructions here (2015 Tutorial by Erel...
B4i Question Background fetches - how to stop them? - martin24 (first post)    
Jul 28, 2017Perfect. Thank you very much!...
link: UIApplicationBackgroundFetchIntervalNever;
}
#End If
...
link: I successfully implemented background fetches based on https://www.b4x.com/android/forum/threads...
B4i Question background fetch - Erel (first post)    
Dec 6, 2015You need to use a push solution for that....
link: There is random (and frequent) updation of a Google spreadsheet , that I read a small part of it fro...
link: so it's actually foreground fetch ?
No. If it was a foreground fetch then it only would...
link: :( so it's actually foreground fetch ?
Ok, is there anyway to this in a better controlled way...
B4i Question IOS7 Background Fetch Programming - sarmanho (first post)    
Mar 10, 2015For my project does not work with notification. Must have access FETCH BACKGROUND MODE....
link: Seems like you are correct. However I think that you will get better results with a push solution in...
link: Erel think you can shoot a local notification after the data is retrieved using BACKGROUND MODE...
link: You currently cannot use background fetch mode. The inline feature will not help here. Please make...
Wish IOS7 BACKGROUND MODE FETCH Programming - Erel (first post)    
Jul 9, 2015Tutorial about this feature: https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022/...
link: Does anyone have any success with "fetch" mode ?...
link: I still don't know....
link: Any forecast you include BACKGROUND MODE FETCH next version of B4i?...
B4i Question Background Uploads - tufanv    
Mar 11, 2023Hello,
is this method while downloading files with httpjob also accurate for uploads? If yes, is there any way to allow more than 30 seconds?
https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022/#content
Thank you....
B4i Question B4I v10.0 Build command failure - Erel (first post)    
Aug 24, 2026@davemorris the reason for this error is the modified main.m in the Files\Special folder.
You are using it to implement the background fetch feature.
Change the #import line to:
#import <iCore/iCore.h>
Or download the updated file:https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022...
Page: 1  
2  
3  
4  
5  
6  
7