Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

[WinPhone] Permission 'NONE' Ignored #109

Closed
amirudin opened this issue Apr 17, 2013 · 9 comments
Closed

[WinPhone] Permission 'NONE' Ignored #109

amirudin opened this issue Apr 17, 2013 · 9 comments

Comments

@amirudin
Copy link

Type: BUG
PhoneGap Version: All
Devices: All

The config.xml has the following preference:
<preference name="permissions" value="none"/>

Android .apk picks that up correctly, but when .xap submitted to Windows Phone Dev Center it shows:

ID_CAP_CONTACTS
ID_CAP_IDENTITY_USER
ID_CAP_ISV_CAMERA
ID_CAP_LOCATION
ID_CAP_MEDIALIB
ID_CAP_MICROPHONE
ID_CAP_NETWORKING
ID_CAP_SENSORS
ID_CAP_WEBBROWSERCOMPONENT
ID_HW_CAMERA
ID_HW_MAGNETOMETER

Related issue:
http://community.phonegap.com/nitobi/topics/capabilities_for_windows_phone_devices_app_builded_on_cloud

@shawnmckay24
Copy link

Thank you for submitting an issue. The PhoneGap Build team has triaged your request and labeled it:

  1.   feature request
    
  2.   medium priority
    

We've added your request to the team's backlog. Due to high volumes, there may be a delay in addressing your request. Rest assured, we haven't lost track of your request. Your feedback is very valuable to us, so please keep it coming.

If you have any questions, please ask us over on our support community. We love to help!

Cheers,

The PhoneGap Build team

@wiikka
Copy link

wiikka commented May 26, 2013

+1 for this. Hope this can be fixed as soon as possible!

@fryiee
Copy link

fryiee commented Sep 19, 2013

Do we have any updates on this? I'm getting pushed from higher-ups on the WinPhone version not being right. Should I just go ahead and build locally?

@santeriv
Copy link

+1

@nullism
Copy link

nullism commented Nov 1, 2013

I understand that OP says this is working for Android... but I haven't been able to make it work. In my config.xml I have:

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

Yet, using apktool decode it shows the following in AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RECORD_VIDEO" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

I haven't been able to make this work. Did this recently break?

@nullism
Copy link

nullism commented Nov 1, 2013

After adding:

    <feature name="http://api.phonegap.com/1.0/device" />

PG build disables the other permissions. I find this behavior strange, but perhaps there's a reason for it.

@codazoda
Copy link

+1

@wildabeast
Copy link
Collaborator

Fix was integrated and deployed.

@asifeqbal
Copy link

thanx mate....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

9 participants