I found some obj-c samples to upload files in background, for example, https://github.com/sajadkhan/Background-Upload-iOS
All samples need to modify something in AppDelegate (.h/.m). So I used main.m as layout https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022/ and added a property inside interface B4IMyDelegate. Surprise ... I can't access it inside OBJC and using nativeobject GetField.
Probably, I do something wrong. If so, please, show how to add a property to B4IMyDelegate.
But it looks that main.m does not work. Unlike a compiler exactly includes modified main.m into B4iProject.
All samples need to modify something in AppDelegate (.h/.m). So I used main.m as layout https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022/ and added a property inside interface B4IMyDelegate. Surprise ... I can't access it inside OBJC and using nativeobject GetField.
Probably, I do something wrong. If so, please, show how to add a property to B4IMyDelegate.
But it looks that main.m does not work. Unlike a compiler exactly includes modified main.m into B4iProject.
Last edited: