From 0df859bf103c2e4e1046f3d2727f8215a2bf23c7 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Sat, 14 Mar 2020 13:06:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E5=AD=97=E6=89=93=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 530c071..878ad0c 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ import {NativeModules, Platform} from "react-native"; -export function checkVersion() { +export function checkUpgrade() { if (Platform.os === 'android') { - NativeModules.VersionUpgrade.checkVersion() + NativeModules.VersionUpgrade.checkUpgrade() } }