Warning: requires main queue setup since it overrides `constantsToExport`

Open
#4 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react-native
Domain
mobile

Research direction

Start by locating the ScreenCornerRadius native module and reviewing how its constantsToExport behavior is defined. Confirm the React Native warning and identify the module setup change needed so the warning is resolved without changing its exported constants.

Written by the indexing model from the issue text.

Description

Module ScreenCornerRadius requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

Dominant language
Java
Stars
121
Forks
11
PR merge metrics
No merged PRs in 30d

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.

More from mrousavy/react-native-screen-corner-radius

All issues in mrousavy/react-native-screen-corner-radius

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.