0 Replies Latest reply on Sep 15, 2017 10:49 AM by ShuriDevTeam

    iOS permissions not being asked for (or set) - used to work fine


      Did something change regarding permissions?  Previously, my Cordova app would ask for the appropriate permissions.  Now when I install it to a new test device, it's like there are no permissions in my config.xml.  But there are 6 permissions in the config and it was working before.  Made no changes to my config.xml, so don't know what's happening?!?  Anybody have any ideas or see what I am doing wrong?





      Here are the key parts of my config.xml:


      <preference name="iosPersistentFileLocation" value="Library" />

        <preference name="AndroidPersistentFileLocation" value="Compatibility" />

        <preference name="BackupWebStorage" value="none" />

        <preference name="exit-on-suspend" value="false" />

        <preference name="AndroidLaunchMode" value="singleTask" />

        <preference name="detect-data-types" value="true" />

          <!-- PhoneGap Build Version -->

        <preference name="phonegap-version" value="cli-6.5.0" />

        <!-- Google Analytics requires-->

        <preference name="android-build-tool" value="gradle" />


        <plugin name="cordova-plugin-contacts" source="npm"/>

        <plugin name="cordova-plugin-file"  source="npm" />

        <plugin name="cordova-plugin-geolocation"  source="npm" spec="~2.4.1"/>

        <plugin name="cordova-plugin-google-analytics"  version="1.0.0"/><!-- do not increase version -->

        <plugin name="cordova-plugin-inappbrowser"  source="npm" spec="~1.6.1"/>

        <plugin name="cordova-plugin-media-capture" source="npm" spec="~1.4.1">

          <variable name="CAMERA_USAGE_DESCRIPTION" value="Shuri would like to access the camera." />

          <variable name="MICROPHONE_USAGE_DESCRIPTION" value="Shuri would like to access the microphone." />

          <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="Shuri would like to access the photo library." />


        <plugin name="cordova-plugin-whitelist"  source="npm" spec="~1.3.1"/>

        <plugin name="https://github.com/AlexDisler/cordova-plugin-inapppurchase.git" />

        <plugin name="https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git">

          <variable name="CALENDAR_USAGE_DESCRIPTION" value="Shuri would like to access calendars." />


        <plugin name="cordova-plugin-speechrecognition" source="npm">

          <variable name="MICROPHONE_USAGE_DESCRIPTION" value="Shuri would like to access the microphone." />

          <variable name="SPEECHRECOGNITION_USAGE_DESCRIPTION" value="Shuri would like to access speech recognition." />