We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b048c80 commit 9a750ccCopy full SHA for 9a750cc
site/pages/docs/bestpractice.md
@@ -92,7 +92,7 @@ splits {
92
// isFirstTimeDebug 这个标志位需要 v10.37.0+ 版本,表示当前是扫码热更后的第一次启动
93
import { isFirstTimeDebug } from 'react-native-update/src/core';
94
95
-new Pushy({
+const pushyClient = new Pushy({
96
beforeCheckUpdate: () => {
97
if (isFirstTimeDebug) {
98
// 如果当前是扫码热更后的第一次启动,则跳过热更检查
0 commit comments