From d9f1c2edb20e29224d20244298d244c1357b5837 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Tue, 25 Jun 2024 12:33:53 +0800 Subject: [PATCH] v10.7.1 --- package.json | 2 +- src/client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,