cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10845) Location permission lost for Windows Phone 8.1
Date Thu, 24 Mar 2016 13:28:25 GMT


ASF GitHub Bot commented on CB-10845:

GitHub user vladimir-kotikov opened a pull request:

    CB-10845 Invalidate manifest cache in prepare

    This fixes [CB-10845](

You can merge this pull request into a Git repository by running:

    $ git pull CB-10845

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #164
commit c11819169b976f64cdf286dcf7ae4e111b4f61f7
Author: Vladimir Kotikov <>
Date:   2016-03-24T13:04:13Z

    CB-10845 Invalidate manifest cache in prepare


> Location permission lost for Windows Phone 8.1
> ----------------------------------------------
>                 Key: CB-10845
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation, Windows
>         Environment: Windows Phone 8.1
>            Reporter: Steffen Schaffert
>            Assignee: Vladimir Kotikov
> After updating to the latest Cordova versions (cordova-cli 6.0.0, cordova-windows 4.3.1,
cordova-plugin-geolocation 2.1.0), the location capability is missing from the appxmanifest
> In the platforms/windows folder, the file "" contains the
following region:
> <Capabilities>
>   <Capability Name="internetClient" />
>   <DeviceCapability Name="location" />
> </Capabilities>
> The file "", which seems to be relevant when building for the
ARM platform, is missing the location entry:
> <Capabilities>
>   <Capability Name="internetClientServer" />
> </Capabilities>
> I don't know whether this is a bug in the geolocation plugin (which should add the permission)
or in the windows platform. I was able to fix the problem for me by extending the plugin.xml
of the geolocation plugin and adding:
> <config-file target="" parent="/Package/Capabilities">
>     <DeviceCapability Name="location" />
> </config-file>
> This seems to be a bug because the existing extra with target="package.appxmanifest"
works for the file but not for
> Edit: The build target was "Windows Phone (Universal)" from Visual Studio 2015, which
results in creating an app package with the following name: "CordovaApp.Phone_<version>_arm.appxupload

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message