NativeScript / NativeScript/nativescript-cli

Ability to have a configuration file for release

Open
#1,496 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

It would be nice if there was a config file like release.json which describes the settings when code-signing an app in release mode:

{
    common: {
          encrypt: true,
          uglify: true
    },
    android: {
          keystore-path: 'path',
          keystore-pwd: 'pwd',
          keystore-alias: 'alias',
          keystore-alias-pwd: 'alias-pwd'
    },
    ios: {
          ...    
    }
}

And then you just have to run tns build android --release to get your app ready for production.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CLI entry point for tns build <platform> --release and the existing Android and iOS code-signing flows. Review how release settings are currently supplied, then define the configuration file format and supported platform settings. Done means the release command can read the configuration and produce signed Android and iOS builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, javascript
Domain
build-system, cli, mobile, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.