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:
@@ -258,8 +258,8 @@ extension History {
|
||||
* @param refId Reference ID
|
||||
* @return Array of History entities
|
||||
*/
|
||||
static func query(
|
||||
by refId: String,
|
||||
static func queryByRefId(
|
||||
_ refId: String,
|
||||
in context: NSManagedObjectContext
|
||||
) -> [History] {
|
||||
let request: NSFetchRequest<History> = History.fetchRequest()
|
||||
@@ -281,8 +281,8 @@ extension History {
|
||||
* @param outcome Outcome string
|
||||
* @return Array of History entities
|
||||
*/
|
||||
static func query(
|
||||
by outcome: String,
|
||||
static func queryByOutcome(
|
||||
_ outcome: String,
|
||||
in context: NSManagedObjectContext
|
||||
) -> [History] {
|
||||
let request: NSFetchRequest<History> = History.fetchRequest()
|
||||
|
||||
Reference in New Issue
Block a user