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