Question About App Permissions

24 views
Skip to first unread message

Robert Harrison

unread,
Dec 21, 2016, 12:22:32 PM12/21/16
to phon...@googlegroups.com

I have a simple app that uses almost no user data… it’s a calculator type thing.  I developed it through phoneGap and it works fine, but when it’s installed, the installation comes up with a list of stuff the app needs permission to access (e.g., your camera, address book, microphone, etc.).  None of that stuff is used by this app.

 

The question is how/where do I specify what permissions I do or don’t need so I can get the unused items off the permission list required for installation?

 

Thanks

 

Robert Harrison
Full Stack Developer
AIMG
rhar...@aimg.com
Main Office: 704-321-1234  ext.118
Direct Line: 516-302-4345
www.aimg.com

aimg

image001.jpg

Kerri Shotts

unread,
Dec 21, 2016, 2:50:22 PM12/21/16
to phonegap
Remove any plugins that your app doesn't use. Chances are good you've got lots of plugins you aren't using, but the plugins don't know that, so they have to ask for permissions anyway.

Robert Harrison

unread,
Dec 21, 2016, 2:55:42 PM12/21/16
to phon...@googlegroups.com

My plugins directory is totally empty.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

image002.jpg

Kerri Shotts

unread,
Dec 21, 2016, 3:05:37 PM12/21/16
to phonegap
Can you share your config.xml (minus identifying/secret information) and the results of "cordova plugins ls" and "cordova platforms ls"?

Robert Harrison

unread,
Dec 21, 2016, 3:09:44 PM12/21/16
to phon...@googlegroups.com

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="XXXXXXX" version="1.0.0">

  <name>XXXXXX</name>

  <description>XXXXXX</description>

  <author href="XXXX" email="XXXX">XXXX</author>

  <content src="index.html"/>

  <preference name="orientation" value="portrait"/>

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

  <preference name="target-device" value="universal"/>

  <preference name="fullscreen" value="true"/>

  <preference name="webviewbounce" value="true"/>

  <preference name="prerendered-icon" value="true"/>

  <preference name="stay-in-webview" value="false"/>

  <preference name="ios-statusbarstyle" value="black-opaque"/>

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

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

  <preference name="show-splash-screen-spinner" value="true"/>

  <preference name="auto-hide-splash-screen" value="true"/>

  <preference name="disable-cursor" value="false"/>

  <preference name="android-minSdkVersion" value="14"/>

  <preference name="android-installLocation" value="auto"/>

 <icon src="icon.png"/>

  <access origin="*"/>

  <plugin name="cordova-plugin-whitelist" version="1"/>

  <allow-intent href="http://*/*"/>

  <allow-intent href="https://*/*"/>

  <allow-intent href="tel:*"/>

  <allow-intent href="sms:*"/>

  <allow-intent href="mailto:*"/>

  <allow-intent href="geo:*"/>

  <platform name="android">

      <allow-intent href="market:*"/>

                  <preference name="orientation" value="portrait"/>

  </platform>

  <platform name="ios" parent="UIViewControllerBasedStatusBarAppearance" overwrite="true">

    <preference name="fullscreen" value="true"/>

    <preference name="orientation" value="portrait"/>

    <allow-intent href="itms:*"/>

    <allow-intent href="itms-apps:*"/>

  </platform>

</widget>

 

Robert Harrison
Full Stack Developer
AIMG
rhar...@aimg.com
Main Office: 704-321-1234  ext.118
Direct Line: 516-302-4345
www.aimg.com

aimg

 

 

From: phon...@googlegroups.com [mailto:phon...@googlegroups.com] On Behalf Of Kerri Shotts


Sent: Wednesday, December 21, 2016 3:06 PM
To: phonegap <phon...@googlegroups.com>

image002.jpg

Kerri Shotts

unread,
Dec 23, 2016, 9:21:47 AM12/23/16
to phonegap
Can you be more specific as to what permissions are being requested, and what OS you're installing on? Screenshots might be useful here.

Pete

unread,
Dec 23, 2016, 9:57:23 AM12/23/16
to phonegap
Those permission are from the phonegap core and, generally, are included by default (dependin on your build environment).  I think you have to explicitly deny those permissions in the config.xml
Reply all
Reply to author
Forward
0 new messages