diff --git a/src/cordova-util.js b/src/cordova-util.js index 550aca8ed..77b20753f 100644 --- a/src/cordova-util.js +++ b/src/cordova-util.js @@ -6,7 +6,7 @@ export const isAndroid = () => export const isElectron = () => isCordova() && window.cordova.platformId === 'electron'; -export const isIOS = () => isCordova() && window.cordova.platformId === 'iOS'; +export const isIOS = () => isCordova() && window.cordova.platformId === 'ios'; export const onCordovaReady = onReady => document.addEventListener('deviceready', onReady, false);