playstore
$ launch playstore
The playstore
action will compile your Cordova build for Android, sign the APK file, and upload it to the Google Play Store. Currently, it uploads to the alpha channel, but that can be changed.
Setup
You will need to have created an application on the Google Play Store.
You will need to generate an auth file to allow uploading. To do this, navigate to Settings -> API Access in your Google Play account, then create a service account. When asked, generate a JSON file for auth, and download it. Provide the path to this file in your launch.json
.
{
"PLAY_AUTH_FILE": ""
}
Crosswalk: If you use the Crosswalk webview, two different builds of your app are generated. Both of these will be uploaded to Google Play with different build numbers.