Reputation: 318
Please explain the difference between Release vs Distribution modes when running a hybrid app project from Visual Studio for Apache Cordova
In Visual Studio, in Solution Configurations drop-down you have:
From what I can see "release" pushes the app to USB-connected Android device, while "distribution" only compiles it, and then just displays empty command prompt screen for adb.exe (but does not push the app to device).
I would like to test "distribution" version.
Thanks!
Upvotes: 2
Views: 201
Reputation: 64644
It's only for iOS apps. Before being submitted to the App Store, iOS apps have to be signed by a Distribution Certificate. The distribution configuration uses this Distribution Certificate instead of a Development Certificate which is used for debug and release builds.
The distribution configuration seems to have been removed in the recently released RC, with release taking its place. The documentation which previously stated:
When building a Debug or Release configuration, the Visual Studio remote agent selects the first valid iOS Development signing identity installed on your Mac. When building a Distribution configuration, the Visual Studio remote agent selects the first valid iOS Distribution signing identity installed on your Mac.
now says:
When building a Debug configuration, by default the Visual Studio remote agent selects the first valid iOS Development signing identity installed on your Mac. When building a Release configuration, by default the Visual Studio remote agent selects the first valid iOS Distribution signing identity installed on your Mac.
Upvotes: 1