react-native-update 10.29.6 → 10.29.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/RCTPushy/RCTPushy.mm +9 -1
- package/package.json +1 -1
package/ios/RCTPushy/RCTPushy.mm
CHANGED
|
@@ -542,7 +542,15 @@ RCT_EXPORT_METHOD(markSuccess:(RCTPromiseResolveBlock)resolve
|
|
|
542
542
|
callback([self errorWithMessage:ERROR_HDIFFPATCH]);
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
|
|
545
|
+
|
|
546
|
+
@try {
|
|
547
|
+
[_fileManager hdiffFileAtPath:bundlePatch fromOrigin:bundleOrigin toDestination:destination completionHandler:completionHandler];
|
|
548
|
+
}
|
|
549
|
+
@catch (NSException *exception) {
|
|
550
|
+
NSLog(@"Pushy _dopatch error: exception occurred during hdiffFileAtPath: %@, reason: %@",
|
|
551
|
+
exception.name, exception.reason);
|
|
552
|
+
callback([self errorWithMessage:ERROR_HDIFFPATCH]);
|
|
553
|
+
}
|
|
546
554
|
}
|
|
547
555
|
|
|
548
556
|
- (void)patch:(NSString *)hash fromBundle:(NSString *)bundleOrigin source:(NSString *)sourceOrigin callback:(void (^)(NSError *error))callback
|