react-native-update 10.4.1 → 10.4.2
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/package.json +1 -1
- package/src/provider.tsx +4 -2
package/package.json
CHANGED
package/src/provider.tsx
CHANGED
|
@@ -159,8 +159,10 @@ export const PushyProvider = ({
|
|
|
159
159
|
const markSuccess = client.markSuccess;
|
|
160
160
|
|
|
161
161
|
useEffect(() => {
|
|
162
|
-
if (__DEV__) {
|
|
163
|
-
console.info(
|
|
162
|
+
if (__DEV__ && !options.debug) {
|
|
163
|
+
console.info(
|
|
164
|
+
'您当前处于开发环境且未启用debug,不会进行热更检查。如需在开发环境中调试热更,请在client中设置debug为true',
|
|
165
|
+
);
|
|
164
166
|
return;
|
|
165
167
|
}
|
|
166
168
|
const { strategy, dismissErrorAfter, autoMarkSuccess } = options;
|