-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
We can now utilize BGHealthResearchTaskRequest
starting from iOS 17. However, in the code, it appears to be commented out.
We can employ a similar approach for protectionTypeOfRequiredData
by using NSFileProtectionType
as its type:
More detail:
https://developer.apple.com/documentation/foundation/nsfileprotectiontype
/// A String indicating file protection availability required for processing.
@property (assign) NSFileProtectionType protectionTypeOfRequiredData;
Here is commented code:
if (@available (ios 17.0, *)) {
BGHealthResearchTaskRequest *request = [[BGHealthResearchTaskRequest alloc] initWithIdentifier:_identifier];
request.protectionTypeOfRequiredData = NSFileProtectionNone; // pass it from js code
return request;
}
I attempted to build TSBackgroundFetch.xcframework
, and I noticed that within the Run Script of the build target, some code paths and codesign entries are hard-coded. Consequently, I need to remove certain code fragments to facilitate the build process.
team3rddigital
Metadata
Metadata
Assignees
Labels
No labels