-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ryan Willoughby
committed
Apr 25, 2016
1 parent
0074415
commit f2463d9
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Windows Signing | ||
|
||
- [Windows 10 (Universal) Signing](#windows): `phonegap-version cli-6.1.0` and greater | ||
- [Windows Phone 8.0/8.1 Signing](#winphone8): `phonegap-version cli-6.0.0` and below | ||
|
||
<a id="windows"></a> | ||
## Windows 10 (Universal) Signing | ||
|
||
|
||
Windows builds have a slightly more involved signing process than the previous Windows Phone Publisher ID method, which was a simple GUID setting. A .pfx certificate file is now required to sign your app and distribute it to the App Store. [This article on MSDN](https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832(v=vs.85).aspx) explains how to create a PFX store file. Ensure the Subject Name of your signing certificate matches the Windows Publisher ID from your [Microsoft Developer Account](https://developer.microsoft.com/en-us/dashboard/account/management). | ||
|
||
Go to your [PhoneGap Build Account Settings](https://buildstage.phonegap.com/people/edit), select the **Signing Keys** tab, upload your **Windows 10** pfx key and unlock it, and select it when building your application. | ||
|
||
**In addition:** | ||
|
||
1. The `author` field in your config.xml must match the Publisher Display Name from *Windows Dev Center -> Account Settings*, i.e: | ||
|
||
```>author<Adobe Systems Canada Inc</author>``` | ||
|
||
2. A new config.xml preference `windows-identity-name` has been introduced to set the App Idenity Name in your App Manifest. This preference must match the App Identity Name from your *Windows Dev Center Account -> App Management -> App Identity*: | ||
|
||
```<preference name="windows-identity-name" value="PhonegapBuild.PGBDeveloper" />``` | ||
|
||
<a id="winphone8"></a> | ||
## Windows Phone 8.0/8.1 Signing | ||
|
||
1. Log into the [Windows Dev Center](http://dev.windows.com), and click **Dashboard** in the top right. | ||
2. Click **Account Settings**. | ||
3. Copy the **Windows Publisher ID** field. | ||
4. Add the Publisher ID to your Signing Keys in your [PhoneGap Build Account Settings](https://build.phonegap.com/people/edit). | ||
5. Build your app using the newly added Windows Publisher ID, selected in a dropdown in your App details. | ||
6. Upload the resulting xap/appx file to the Windows Dev Center. |