How to test Ionic 2 applications on a Windows 10 mobile phone?

I'm struggling to find meaningful documentation on testing on Windows 10. I added win 10 as a platform and it creates a project folder, but it’s not clear what to do from now on. Has anyone worked on this process?

+4
source share
1 answer

OK, so I worked after 8 hours (I think most of the problem was expecting that on one site there would be all the necessary information (that is, Ionic docs), but in the end she needed information from Ionic, Cordoba and Microsoft. In any case , here are my notes:

Debugging on Windows Mobile Devices

, . Windows 10 / ( , , , win 10 ). windows-ARM ( Lumia 550).

Config.xml

config.xml( ) API " " "". config.xml : : Config.xml

"Windows" , Windows 10 .

Win phone aps SSL.

( , DER - - .cer). , . "-Certificate.cer

package.windows10..appxmanifest

<Extensions>
    <!--Certificates Extension-->
    <Extension Category="windows.certificates">
        <Certificates>
            <Certificate StoreName="Root" Content="api-certificate.cer" />        
        </Certificates>
    </Extension>
</Extensions>

( ).

.cer , .

, . SqlLite, , ARM. , , ( ).

VS ( " ", , Windows ). projectfolder > platform > windows cordovaapp.sln. Windows 10 , Windows-ARM.

.

MSDN: UWP

, appxmanifest win 10 URI API :

https://api.example.com (: include WinRT: )

api-certificate.cer > Windows ( . /reload -platform windows powershell script).

> store > create app package.
"" ( ). .cer API .

AppPackages [projectName]. [verion].

USB-, , , .

:

TACO-VS: Windows MSDN: ? : ​​Windows 10

MSDN:

, , "". "" "", "". - UWP, " ", " ". , "", .

: winappdeploycmd.exe

(MSDN: WinAppDeployCmd.exe UW] (https://msdn.microsoft.com/windows/uwp/packaging/install-universal-windows-apps-with-the-winappdeploycmd-tool)

C:\ "Program Files (x86)" \ "Windows Kits" \10\bin\x86\winappdeploycmd

: (winappdeploycmd), , , , , .

.cer .appxbundle

USB (, ):

CordovaApp.Windows10_0.0.2.0_arm.cer CordovaApp.Windows10_0.0.2.0_arm.appxbundle

File Explorer .cer(). .
appxbundles, . appxbundle ( 30 , ). . , " ", - , .

, .

​​ .

MSDN:

MSDN: Windows

+5

Source: https://habr.com/ru/post/1656062/


All Articles