import {NativeModules, Platform} from "react-native"; export function checkVersion() { if (Platform.os === 'android') { NativeModules.VersionUpgrade.checkVersion() } }