Windows Cordova application (10 universal telephone and Telephone) Construction and packaging

I have a problem packing a Windows Cordova application to target Windows Phone 10 Universal Phone and Windows Phone 8.1.

My app is developed in JS and HTML oriented to iOS, Android and Windows with Cordova. When creating and packaging on Windows, I have the following problems:

  • I could not create a package that would be recognized as supporting multiple languages ​​in the Windows repository. I had the following resource token in appxmanifest: <Resource Language="x-generate"> , but then it would only detect my default language, which I set to de-CH . Then I replaced this token with language tokens: <Resource Language="de-CH"><Resource Language="fr-CH">... When building VS2015, it will complain about the lack of resources for the default language, and I had the same problem as before, the application will be recognized only as supporting 1 language. After a little twist and a look at the Localization Example, I added the following my CordovaApp.Windows.jsproj (WinPhone10) and CordovaApp.Phone.jsproj (WinPhone8.1) File:

     <ItemGroup> <Content Include="strings\de-CH\resources.json" /> <Content Include="strings\fr-CH\resources.json" /> <Content Include="strings\it-CH\resources.json" /> <Content Include="strings\en-US\resources.json" /> </ItemGroup> 

    and

     <ItemGroup> <PRIResource Include="strings\de-CH\resources.resjson" /> <Content Include="strings\de-CH\resources.json" /> ...[These two lines repeated for every other language]... </ItemGroup> 

    Of course, I also created this folder structure ( strings\de-CH\... etc.) in my project. The .json and .resjson contain only the following content: {} , since I do not use my own localization functions. It really worked, and the store correctly identified the application as multilingual. BUT he started building _language-fr.appx etc. binary files and added them to the kit. The problem is that I focus only on the architecture of arm , since one of the plug-ins that I use must be built against specific architectures and does not support the neutral goal. But, oddly enough, Windows Phone 10 Universal bundle now contains _language-x.appx files compiled as neutral : Package contents in the Windows Store show neutral appx This disrupts the display of the Supported processors section in the Windows storage, as it currently displays neutral, arm or x86, x64, arm , depending on which platform you are looking at it. What can I do to fix this? I need a store to recognize different languages, but not against neutral .

  • My second problem concerns the Supported operating systems section of the Windows Store. Here I have a problem that shows:

     Windows Phone 10 Windows Phone 8.1 Windows Phone 8 

    And for a while it also revealed Windows Phone 7 , which mysteriously disappeared ... But I still focus only on the first two. As you can see in the screenshot above, the store correctly recognized the assembly of Windows Phone 8.1, and I just downloaded two visible assemblies. I do not want to target Windows Phone 8 . For appxmanifest for Windows Phone 10, I have the following entry:

     <Dependencies> <TargetDeviceFamily MaxVersionTested="10.0.10586.29" MinVersion="10.0.10586.0" /> </Dependencies> 

    This is basically the default, I just adjusted MaxVersionTested and added Name="Windows.Mobile" (I haven't created and sent using the Name property like this yet) to be safe. In appxmanifest Windows Phone 8.1, I had the following entry:

     <Prerequisites> <OSMinVersion>6.3.1</OSMinVersion> <OSMaxVersionTested>6.3.1</OSMaxVersionTested> </Prerequisites> 

    I checked the version codes for Windows Phone 8.1 and they look very different. These versions look like regular Windows 8.1 version codes. Windows Phone 8.1 version codes are longer, but the properties in appxmanifest only allow versions with 3 places. It would help or even work if I changed it to the following:

     <Prerequisites> <OSMinVersion>8.10.14147</OSMinVersion> <OSMaxVersionTested>8.10.15148</OSMaxVersionTested> </Prerequisites> 

To be clear, the appxmanifests project:

 package.phone.appxmanifest for Windows Phone 8.1 package.windows10.appxmanifest for Windows Phone 10 Universal 

It would be great if someone would help me with these two problems. Thank you very much in advance!

+7
cordova windows-store-apps localization win-universal-app
source share

No one has answered this question yet.

See related questions:

342
How do Windows 8 Runtime (WinRT / Windows Store / Windows 10 Universal App) compare with Silverlight and WPF?
17
The difference between Windows Phone 8.1 and Windows Phone Silverlight 8.1
2
Is PhotoChooserTask supported on Windows Phone 8.1 (Universal App)?
one
Where is PCL standalone inventory for universal applications?
one
windows phone 8.1 inapp purchase
one
Cordoba will build for windows phone
0
Universal App, enable support for previous versions of Windows Phone
0
Authentication Azure Mobile Services does not work with Windows Phone 8.1 Universal app
0
White border brush on AppBarButton - Windows Phone 8.1 (Runtime / Universal app)
0
How to Debug UPDATE Universal Windows Phone 8.1 Application

All Articles