nstudio / nstudio/nativescript-plugins

[nativescript-checkbox]: onTintColor is a private identifier and not allowed outside class bodies

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
55
Forks
42
Avg merge
49m
Merged PRs (30d)
1

Description

Screen Shot 2022-04-11 at 1 46 42 PM

onTintColor is the attribute used to define the border color when the checkbox is checked in app. Without this set, the checkbox border is blue by default for iOS. This javascript error continually shows up yet it doesn't seem to error in the console and the app runs just fine.

Is there any reason why this can't be made public so it can be used like the other attributes? If I'm misunderstanding the issue, please enlighten me. Thank you

Contributor guide

No contributing guide indexed for this repository

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 nativescript-checkbox implementation and every reference to onTintColor, then inspect how its public attributes are declared for iOS. Confirm the intended visibility and test the checkbox with onTintColor configured; done means the JavaScript error no longer appears and the border color remains configurable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile-dev
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.