NativeScript / NativeScript/NativeScript

[feature] Allow bundler, eslint and typings generator to show API/SDK version availability warnings

Open
#10,510 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
25.7k
Forks
1.7k
Avg merge
1d 5h
Merged PRs (30d)
35

Description

Is your feature request related to a problem? Please describe.

Just better DX.

Describe the solution you'd like

When using something like UIApplication.sharedApplication.keyWindow the platform deprecation warning can appear in the CLI logs in addition to being an eslint warning.

'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes.
Describe alternatives you've considered

No response

Anything else?

No response

Please accept these terms

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

The issue names the bundler, ESLint, and typings generator, using UIApplication.sharedApplication.keyWindow as the example. Start by tracing where that iOS deprecation warning is surfaced in CLI logs and ESLint output. Done means the named tools consistently show API/SDK version availability warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, ios, typescript
Domain
cli, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.