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.
- package/ios/RCTPushy/RCTPushy.mm +4 -0
- package/package.json +1 -1
package/ios/RCTPushy/RCTPushy.mm
CHANGED
|
@@ -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
|
|