mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 20:55:14 +08:00
v10.10.1
This commit is contained in:
@@ -273,6 +273,12 @@ export const PushyProvider = ({
|
||||
if (payload && payload.type) {
|
||||
if (payload.type === '__rnPushyVersionHash') {
|
||||
await checkUpdate({ toHash: payload.data });
|
||||
if (updateInfoRef.current && updateInfoRef.current.upToDate) {
|
||||
Alert.alert(
|
||||
'提示',
|
||||
'当前尚未检测到更新版本,如果是首次扫码,请等待服务器端生成补丁包后再试(约10秒)',
|
||||
);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user