You've already forked RN_Android_VersionUpgrade
IOS兼容
This commit is contained in:
@@ -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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user