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