名字打错了
This commit is contained in:
parent
0d92a58bf6
commit
0df859bf10
4
index.js
4
index.js
@ -1,7 +1,7 @@
|
|||||||
import {NativeModules, Platform} from "react-native";
|
import {NativeModules, Platform} from "react-native";
|
||||||
|
|
||||||
export function checkVersion() {
|
export function checkUpgrade() {
|
||||||
if (Platform.os === 'android') {
|
if (Platform.os === 'android') {
|
||||||
NativeModules.VersionUpgrade.checkVersion()
|
NativeModules.VersionUpgrade.checkUpgrade()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user