I am trying to implement background processing in IOS, however one of the steps mentioned in the medium article is to edit the appDelegate.swift file in vscode, I managed to open my code in vscode and edit, save the file. However when I go into local run (using real device) and file gets reverted back to the original version, and then when I minimize the app and I need to run mybackground tasks I get an error.
These are the lines I need to add to the delegate file:
import flutter_background_service_ios // add this
SwiftFlutterBackgroundServicePlugin.taskIdentifier =”com.Example.background.refresh”