src/device/deviceDetector.js
function isValidPlatform() {
    if (appSettings.overrides && appSettings.overrides.platform) {
        return true; //If a platform override is set, it's always valid
    }
    return /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
}
function isValidPlatform() {
    if (appSettings.overrides && appSettings.overrides.platform) {
        return true; //If a platform override is set, it's always valid
    }
    return /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
}
function isValidPlatform ( ) { if ( appSettings . overrides && appSettings . overrides . platform ) { return true ; //If a platform override is set, it's always valid } return / iPhone|iPad|iPod|Android / i . test ( navigator . userAgent ) ; }
Check if the platform the user is currently visiting the page with is valid for
the ad library to run
@returns {boolean}
Check if the platform the user is currently visiting the page with is valid for the ad library to run