You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by manuganji <gi...@git.apache.org> on 2014/06/12 18:39:40 UTC

[GitHub] cordova-docs pull request: Instructions about signing and releasin...

GitHub user manuganji opened a pull request:

    https://github.com/apache/cordova-docs/pull/212

    Instructions about signing and releasing a phonegap android app

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/manuganji/cordova-docs master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-docs/pull/212.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #212
    
----
commit 887fcf7da4d94bdd75159fd8e8fe91b933be3671
Author: Manu Ganji <ma...@gmail.com>
Date:   2014-05-13T18:46:06Z

    adding instruction about making a private key file

commit 3c323c931ab561ecd00c9505ab9286b529313f62
Author: Manu Ganji <ma...@gmail.com>
Date:   2014-06-12T16:37:26Z

    adding instruction about making an apk for release
    
    For release to Google play

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cordova-docs issue #212: Instructions about signing and releasing a phonegap...

Posted by purplecabbage <gi...@git.apache.org>.
Github user purplecabbage commented on the issue:

    https://github.com/apache/cordova-docs/pull/212
  
    closing this now very old pr.  Thanks for contributing, if this is still valid and needed, please rebase and resend.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request: Instructions about signing and releasin...

Posted by manuganji <gi...@git.apache.org>.
Github user manuganji commented on the pull request:

    https://github.com/apache/cordova-docs/pull/212#issuecomment-53367352
  
    Hey @kant2002 I've just updated it. Sorry for the delay, I missed your comment before.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cordova-docs pull request #212: Instructions about signing and releasing a p...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-docs/pull/212


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request: Instructions about signing and releasin...

Posted by fredgalvao <gi...@git.apache.org>.
Github user fredgalvao commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/212#discussion_r21742998
  
    --- Diff: docs/en/3.4.0/guide/platforms/android/index.md ---
    @@ -242,3 +242,31 @@ You can push the app to the device from the command line:
     
     Alternately within Eclipse, right-click the project and choose __Run
     As &rarr; Android Application__.
    +
    +## Signing and releasing your android application
    +
    +Create a keystore file and a keystore alias as described at [Android Developer Site](http://developer.android.com/tools/publishing/app-signing.html#cert). AFter that, follow these steps.
    +
    +* Run `cordova build android` from the folder containing `www` folder
    +* `cd` to this path `platforms/android/`
    +* Make sure `ant.properties` in this folder contains these keys and right values
    +> key.store=<absolute_path_to_keystore_file_on_disk>
    +>
    +> key.alias=<alias_value>
    +>
    +> key.store.password=<store_password>
    +>
    +> key.alias.password=<alias_password>
    +> # there is a way to keep these values outside version control. Refer to the Reference #2 below
    +>
    +* increment the `versionCode` in `AndroidManifest.xml` in this folder. If this is your very first release you can leave it as "1".
    +* `cd` to `ant-build` folder from this folder
    --- End diff --
    
    Why are these last steps suggested considering the user is not using cordova CLI?
    Because if he is using CLI (which the first step suggests), he can just create the `ant.properties` file and change the version in `config.xml` instead of editing `AndroidManifest.xml`directly, and then run `cordova build android --release` in the project root.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request: Instructions about signing and releasin...

Posted by dblotsky <gi...@git.apache.org>.
Github user dblotsky commented on the pull request:

    https://github.com/apache/cordova-docs/pull/212#issuecomment-196609045
  
    @manuganji is this change still applicable?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org