NativeScript / NativeScript/nativescript-cli

Remove SUPPORTED_TARGETS from CLI

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

Nobody has claimed this yet.

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

Description

Currently we have a white list for supported android sdk version in CLI. This was done in the early days to protect developers from using not supported android sdks. This was especially valid when android releases were final from day 1. Nowadays android sdk enter preview/beta stages early so we can remove this hard coded list of supported sdks

Goals:

  • users are able to benefit of {N} 0-day support
  • users to be in control of what compile sdk version is used for their apps

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 SUPPORTED_TARGETS in the CLI and trace where the hard-coded Android SDK validation is applied. Confirm how compile SDK versions are selected, then remove the restriction so preview and beta SDKs can be used; done means users control the compile SDK version without the whitelist blocking it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
cli, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.