react-native-update 10.29.8 → 10.29.9

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.
@@ -361,6 +361,9 @@ RCT_EXPORT_METHOD(restartApp:(RCTPromiseResolveBlock)resolve
361
361
  RCT_EXPORT_METHOD(markSuccess:(RCTPromiseResolveBlock)resolve
362
362
  rejecter:(RCTPromiseRejectBlock)reject)
363
363
  {
364
+ #if DEBUG
365
+ resolve(@true);
366
+ #else
364
367
 
365
368
  @try {
366
369
  // up package info
@@ -384,6 +387,7 @@ RCT_EXPORT_METHOD(markSuccess:(RCTPromiseResolveBlock)resolve
384
387
  @catch (NSException *exception) {
385
388
  reject(@"执行报错", nil, nil);
386
389
  }
390
+ #endif
387
391
  }
388
392
 
389
393
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.29.8",
3
+ "version": "10.29.9",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "scripts": {