Skip to content

ImageGenerator requires main queue setup warning #8

Description

@jonnypage

On a fresh install, on startup, the app reports a LogBox warning:

Warning

Module ImageGenerator requires main queue setup since it overrides 'init' 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.

Environment:

"react": "17.0.2",
"react-native": "0.68.1",

Expected Behavior

No warning produced.

Code Example

None needed, happens on install without any implementation

Screenshot

Simulator Screen Shot - iPhone 13 - 2022-08-11 at 16 39 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions