checkFullScren.js 361 Bytes

const iphoneModel = ['iPhone10,3', 'iPhone10,6', 'iPhone11,2', 'iPhone11,4', 'iPhone11,6', 'iPhone11,8', 'iPhone12,1', 'iPhone12,3', 'iPhone12,5']
let fullscren = false
export function checkFullScren() {
    let systemInfo = dd.getSystemInfoSync()
    if (iphoneModel.includes(systemInfo.model)) {
        return true
    } else {
        return false
    }
}