react-native-ota-hot-update 2.4.3 → 2.4.4
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/OtaHotUpdate.mm +1 -1
- package/package.json +1 -1
package/ios/OtaHotUpdate.mm
CHANGED
|
@@ -308,7 +308,7 @@ void OTAExceptionHandler(NSException *exception) {
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
// Expose setupBundlePath method to JavaScript
|
|
311
|
-
RCT_EXPORT_METHOD(setupBundlePath:(NSString *)path extension:(NSString *)extension version:(NSNumber *)version maxVersions:(NSNumber *)maxVersions metadata:(NSString *)metadata
|
|
311
|
+
RCT_EXPORT_METHOD(setupBundlePath:(NSString *)path extension:(NSString *)extension version:(nonnull NSNumber *)version maxVersions:(nonnull NSNumber *)maxVersions metadata:(NSString *)metadata
|
|
312
312
|
resolve:(RCTPromiseResolveBlock)resolve
|
|
313
313
|
reject:(RCTPromiseRejectBlock)reject) {
|
|
314
314
|
if ([OtaHotUpdate isFilePathValid:path]) {
|