cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Meijer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11005) Wrong version number in windows phone manifest xml
Date Tue, 05 Apr 2016 16:01:25 GMT

    [ https://issues.apache.org/jira/browse/CB-11005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226525#comment-15226525
] 

Johan Meijer commented on CB-11005:
-----------------------------------

cordova version is 4.3.0.
I've X-ed some information out in the xml below for privacy reasons. And we're currently at
1.0.37 ;)

config.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<widget id="com.domain.myapp" version="1.0.37" xmlns:android="http://schemas.android.com/apk/res/android"
versionCode="16786688" 
        xmlns:gap="http://phonegap.com/ns/1.0" xmlns="http://www.w3.org/ns/widgets">
  <name>My App</name>
  <description>My description</description>
  <author email="info@domain.com" href="http://www.domain.com">MyCompany</author>
  <content src="index.html"></content>
  <access origin="*"></access>
  <allow-navigation href="*"></allow-navigation>
  <icon src="icon.png" width="192" height="192"></icon>
  <icon src="images/_app/icon-windows-48.png" width="48" gap:platform="winphone" height="48"></icon>
  <icon src="images/_app/icon-windows-173.png" gap:role="background" width="173" gap:platform="winphone"
height="173"></icon>
  <gap:splash src="splash.png" width="1080" height="1920"></gap:splash>
  <gap:splash src="images/_app/Splash-winphone-wvga.jpg" width="480" gap:platform="winphone"
height="800"></gap:splash>
  <gap:splash src="images/_app/Splash-winphone-wxga.jpg" width="768" gap:platform="winphone"
height="1280"></gap:splash>
  <gap:splash src="images/_app/Splash-winphone-720p.jpg" width="720" gap:platform="winphone"
height="1280"></gap:splash>
  <gap:splash src="images/_app/Splash-winphone-1080p.jpg" width="1080" gap:platform="winphone"
height="1920"></gap:splash>
  <gap:config-file platform="winphone" parent="/Deployment" mode="replace">
    <Languages xmlns="">
      <Language code="nl-NL"></Language>
    </Languages>
    <DefaultLanguage xmlns="" code="nl-NL"></DefaultLanguage>
  </gap:config-file>
  <preference name="fullscreen" value="true"></preference>
  <preference name="AndroidPersistentFileLocation" value="Internal"></preference>
  <preference name="splash-screen-duration" value="20000"></preference>
  <preference name="orientation" value="default"></preference>
  <preference name="auto-hide-splash-screen" value="false"></preference>
  <preference name="webviewbounce" value="false"></preference>
  <preference name="phonegap-version" value="cli-6.0.0"></preference>
  <preference name="android-minSdkVersion" value="14"></preference>
  <preference name="detect-data-types" value="false"></preference>
  <preference name="stay-in-webview" value="true"></preference>
  <preference name="deployment-target" value="7.0"></preference>
  <preference name="windows-identity-name" value="XXXXXXXX.MyApp"></preference>
  <preference name="DisallowOverscroll" value="true"></preference>
  <preference name="ios-statusbarstyle" value="black-opaque"></preference>
  <preference name="ShowSplashScreenSpinner" value="false"></preference>
  <preference name="SplashScreenDelay" value="20000"></preference>
  <preference name="android-targetSdkVersion" value="14"></preference>
  <preference name="FadeSplashScreenDuration" value="800"></preference>
  <preference name="AutoHideSplashScreen" value="false"></preference>
  <preference name="SplashMaintainAspectRatio" value="true"></preference>
  <preference name="android-build-tool" value="gradle"></preference>
  <preference name="EnableViewportScale" value="true"></preference>
  <preference name="KeyboardDisplayRequiresUserAction" value="false"></preference>
  <preference name="keepRunning" value="false"></preference>
  <gap:plugin name="cordova-plugin-whitelist" version="1.2.1" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-device" version="1.1.1" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-network-information" version="1.2.0" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-splashscreen" version="3.2.1" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-inappbrowser" version="1.3.0" source="npm"></gap:plugin>
  <gap:plugin name="com.phonegap.plugins.pushplugin" version="2.5.0"></gap:plugin>
  <gap:plugin name="cordova-plugin-statusbar" version="2.1.2" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-appavailability" version="0.4.2" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-uniquedeviceid" version="1.3.2" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-camera" version="2.1.1" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-file-transfer" version="1.5.0" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-file" version="4.1.1" source="npm"></gap:plugin>
  <gap:plugin name="cordova-plugin-globalization" version="1.0.3" source="npm"></gap:plugin>
</widget>

Resulting AppxManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest"
xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
  <!--
    THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.

    Changes to this file will be lost when it is regenerated. To correct errors in this file,
edit the source .appxmanifest file.

    For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727
  -->
  <Identity Name="XXXXXXXX.MyApp" Publisher="CN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" Version="1.0.3.0"
ProcessorArchitecture="neutral" />
  <mp:PhoneIdentity PhoneProductId="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" PhonePublisherId="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
/>
  <Properties>
    <DisplayName>My App</DisplayName>
    <PublisherDisplayName>MyCompany</PublisherDisplayName>
    <Logo>images\StoreLogo.png</Logo>
  </Properties>
  <Prerequisites>
    <OSMinVersion>6.3.1</OSMinVersion>
    <OSMaxVersionTested>6.3.1</OSMaxVersionTested>
  </Prerequisites>
  <Resources>
    <Resource Language="EN-US" />
  </Resources>
  <Applications>
    <Application Id="MyApp" StartPage="www/index.html">
      <m3:VisualElements BackgroundColor="transparent" Description="CordovaApp" DisplayName="My
App" ForegroundText="light" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png">
        <m3:DefaultTile Square71x71Logo="images\Square71x71Logo.png" Wide310x150Logo="images\Wide310x150Logo.png">
          <m3:ShowNameOnTiles>
            <m3:ShowOn Tile="square150x150Logo" />
            <m3:ShowOn Tile="wide310x150Logo" />
          </m3:ShowNameOnTiles>
        </m3:DefaultTile>
        <m3:SplashScreen Image="images\SplashScreenPhone.png" />
      </m3:VisualElements>
    </Application>
  </Applications>
  <Capabilities>
    <Capability Name="internetClient" />
    <DeviceCapability Name="webcam" />
  </Capabilities>
  <Dependencies>
    <PackageDependency Name="Microsoft.Phone.WinJS.2.1" MinVersion="1.0.9651.0" />
  </Dependencies>
  <Extensions>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>CLRHost.dll</Path>
        <ActivatableClass ActivatableClassId="GlobalizationProxy.GlobalizationProxy" ThreadingModel="both"
/>
      </InProcessServer>
    </Extension>
  </Extensions>
  <build:Metadata>
    <build:Item Name="SharedGUID" Value="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" />
    <build:Item Name="CodeSharingProject" Value="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
/>
    <build:Item Name="VisualStudio" Version="14.0" />
    <build:Item Name="OperatingSystem" Version="6.3.9600.16384 (winblue_rtm.130821-1623)"
/>
    <build:Item Name="Microsoft.Build.AppxPackage.dll" Version="14.0.24720.0" />
    <build:Item Name="ProjectGUID" Value="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" />
    <build:Item Name="MakePri.exe" Version="6.3.9600.17336 (winblue.150226-1500)" />
  </build:Metadata>
</Package>

> Wrong version number in windows phone manifest xml
> --------------------------------------------------
>
>                 Key: CB-11005
>                 URL: https://issues.apache.org/jira/browse/CB-11005
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8 (deprecated)
>    Affects Versions: 3.5.0, 3.8.1
>         Environment: Windows Phone 8.1
>            Reporter: Johan Meijer
>              Labels: build, easytest, wp8
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When I enter "1.0.36" in the version attribute of my widget element in my config.xml,
it ends up as "1.0.3.0" in the Windows Phone manifest xml.
> What goes in:
> <widget version="1.0.36" ...>
>    ...
> </widget>
> What comes out:
> <Deployment ...>
>    <App Version="1.0.3.0" ...>
>       ...
>    </App>
>    ...
> </Deployment>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message