diff --git a/package.json b/package.json index ac85f67..b12b839 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update", - "version": "10.7.0", + "version": "10.7.1", "description": "react-native hot update", "main": "src/index", "scripts": { diff --git a/src/client.ts b/src/client.ts index b1150e3..5a04256 100644 --- a/src/client.ts +++ b/src/client.ts @@ -33,7 +33,7 @@ export class Pushy { appKey: '', server: defaultServer, autoMarkSuccess: true, - updateStrategy: 'alwaysAlert', + updateStrategy: __DEV__ ? 'alwaysAlert' : 'alertUpdateAndIgnoreError', checkStrategy: 'both', logger: noop, debug: false,