An expert in Swift/SwiftUI to complete the implementation of Background Tasks that are to be run when the application is in the background.
Budget: $30 – $250 USD
I am seeking an expert in Swift/SwiftUI to complete the implementation of background tasks for my application. The ideal candidate should have experience with BGAppRefreshTask and BGProcessingTask.
Requirements
==============================
XCode 15.1
Project Format: Xcode 15.0
1: Enable and schedule background tasks
==============================
Using the existing code provided (AnomaaApp.swift - lines 11-50), complete the enabling and scheduling of the background task.
(reference: https://developer.apple.com/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app)
Note: For testing the code will run the schedule every 2 minutes. It will change to every 2 hours for production.
2: Code to be run
==============================
The functions that are to be executed are located at (AnomaaApp.swift) lines 105-134.
You may refactor the code as needed for it to work.
You may switch from BGAppRefreshTask to BGProcessingTask or both if that is what is needed to successfully complete the work.
- The code is attached
- The preferred deadline for the completion of this task is 24 hours.
Requirements
==============================
XCode 15.1
Project Format: Xcode 15.0
1: Enable and schedule background tasks
==============================
Using the existing code provided (AnomaaApp.swift - lines 11-50), complete the enabling and scheduling of the background task.
(reference: https://developer.apple.com/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app)
Note: For testing the code will run the schedule every 2 minutes. It will change to every 2 hours for production.
2: Code to be run
==============================
The functions that are to be executed are located at (AnomaaApp.swift) lines 105-134.
You may refactor the code as needed for it to work.
You may switch from BGAppRefreshTask to BGProcessingTask or both if that is what is needed to successfully complete the work.
- The code is attached
- The preferred deadline for the completion of this task is 24 hours.