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:
@@ -36,7 +36,7 @@
|
||||
<attribute name="nextRunAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
||||
<attribute name="stateJson" optional="YES" attributeType="String"/>
|
||||
</entity>
|
||||
<entity name="NotificationContent" representedClassName="NotificationContent" syncable="YES" codeGenerationType="class">
|
||||
<entity name="NotificationContent" representedClassName="NotificationContentEntity" syncable="YES" codeGenerationType="class">
|
||||
<attribute name="id" optional="NO" attributeType="String"/>
|
||||
<attribute name="pluginVersion" optional="YES" attributeType="String"/>
|
||||
<attribute name="timesafariDid" optional="YES" attributeType="String"/>
|
||||
|
||||
Reference in New Issue
Block a user