You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// 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.
The text was updated successfully, but these errors were encountered:
Yes, I started implementing this but i had issues.
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.
Yes, the build-script is primarily designed for my own personal usage. Almost nobody has any interest in making their own custom build of the framework.
The build-script is necessarily complex because TSBackgroundFetch.xcframework is exported to five different projects.
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 usingNSFileProtectionType
as its type:More detail:
https://developer.apple.com/documentation/foundation/nsfileprotectiontype
Here is commented code:
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.The text was updated successfully, but these errors were encountered: