cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: Cordova Debug Mode
Date Mon, 25 Nov 2013 19:29:22 GMT
(..And my reply.)


On Mon, Nov 25, 2013 at 11:16 AM, Michal Mocny <mmocny@chromium.org> wrote:

> Okay, I agree with you, this is difficult and poorly documented.  This is
> something we in mobile-chrome-apps team are annoyed with right as we
> prepare to advocate cordova to chrome app devs more prominently.  We here
> haven't attempted publishing apps until recently so haven't felt the pain
> nor dedicated effort to improve the situation.
>
> What I meant with my comment was that you can publish while using the CLI
> *workflow*, even if not from the actual command line.  Ie, I can create a
> multi-platform application using the cordova tool, manage plugins, debug,
> etc, and only need to delve into platform details to release (or to dig
> deeper into debugging etc).  Right now, to make releases easier, we've
> advised using an IDE to help.  I know this is a bit of a philosophical
> difference, but the Google team does not mind mixing platform IDE's with
> the CLI workflow, since we consider the CLI workflow as a useful way to do
> "multi-platform" and needn't strictly be "hide-all-platform bits entirely
> away".
>
> Absolutely, the current process sucks.  Absolutely, we haven't worked
> enough on making it better since 3.0 shipped, and that should change.  Very
> likely someone from Google will attempt to simplify or at least document
> this some time between now and January and we would love others to help as
> well.  We would also love a way to do this in the cloud, and while we
> haven't played with phonegap-build I think it is a solution that a lot of
> us would love to leverage.
>
> -Michal
>
> (Joe, did you mean to private reply?)
>
>
> On Mon, Nov 25, 2013 at 11:03 AM, Joe Bowser <bowserj@gmail.com> wrote:
>
>> On Fri, Nov 22, 2013 at 10:18 AM, Michal Mocny <mmocny@chromium.org>
>> wrote:
>> >
>> > What do we mean that the CLI doesn't have a way to release software?
>>  Maybe
>> > not using a single command, but you certainly can with the workflow.
>> >
>>
>> OK, so, just for the sake of argument, I've gone through the full
>> development process with the CLI and I'm looking to publish an app on
>> Google Play? (I'm not even going to touch iOS, because that doesn't
>> even work on my box) How does one do that with the CLI?  There's
>> nothing in this doc here:
>>
>>
>> http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
>>
>> Nor is there anything when you type cordova and read the directions.
>> There's nothing here that helps the user get from done to published.
>> They're going to have to deal with the platform reality now, which
>> looks like this:
>> cd platforms/android
>> cordova/build --release
>> cd bin
>> jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore
>> my-release-key.keystore
>> my_application.apk alias_name
>> zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
>>
>> This is assuming that you have a keystore setup, which I would say
>> most of our users don't have.  Right now, the CLI doesn't do ANY of
>> this and I don't know if the CLI should do any of this.  It might be
>> OK for us to assume that all builds the CLI are responsible for are
>> just debug mode versions.  However, to actually release a Cordova app,
>> it actually has to make it to an App Store of some type, since that's
>> where the people are and that's one of the main selling points of
>> Cordova in the first place.
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message