IOS兼容
This commit is contained in:
parent
d5ec06c7ab
commit
8ca5565fc8
10
index.js
10
index.js
@ -1,3 +1,9 @@
|
|||||||
import { NativeModules } from "react-native";
|
import { NativeModules, Platform } from "react-native";
|
||||||
|
|
||||||
export default NativeModules.VersionUpgrade;
|
export default {
|
||||||
|
checkVersion(){
|
||||||
|
if(Platform.os === 'android'){
|
||||||
|
NativeModules.VersionUpgrade.checkVersion()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user