
import { NativeModules,Platform } from 'react-native';

const { RNPgySdk } = NativeModules;

function checkUpdate(appId:string) {
    if (Platform.OS === 'ios'){
        RNPgySdk.checkUpdate(appId);
    }
    else{
        RNPgySdk.checkUpdate();
    }
}
export {
    checkUpdate
} ;
