fix(ios): resolve build errors and add missing configureNativeFetcher method
Fixed Swift compilation errors preventing iOS build: - Added explicit self capture [self] in closures in DailyNotificationReactivationManager - Removed invalid BGTaskScheduler.shared.registeredTaskIdentifiers API call - Fixed initialization order in DailyNotificationModel (verifyEntities after container init) Added missing configureNativeFetcher method to iOS plugin: - Implemented method matching Android functionality - Stores configuration in UserDefaults for persistence - Registered method in pluginMethods array - Supports both jwtToken and jwtSecret parameters for compatibility This resolves the runtime error "configureNativeFetcher is not a function" that was preventing the test app from configuring the plugin.
This commit is contained in:
@@ -259,7 +259,7 @@ class DailyNotificationBackgroundTaskTestHarness {
|
||||
/// - ETag validation
|
||||
/// - Content caching
|
||||
/// - Error handling
|
||||
class PrefetchOperation: Operation {
|
||||
class PrefetchOperation: Operation, @unchecked Sendable {
|
||||
|
||||
var isFailed = false
|
||||
private static let fetchLog = OSLog(subsystem: "com.timesafari.dailynotification", category: "fetch")
|
||||
|
||||
Reference in New Issue
Block a user