Skip to content

New requirement based on Dark/Light mode #2463

@merbin2012

Description

@merbin2012

In our application, we have integrated dark and light mode theme support, and it works perfectly.
However, there is one issue.

If the user forces the app to use dark mode while the system default is light mode, all system pop-up intents (such as the Share dialog) are displayed with a white background.

We understand that Android does not automatically detect the app’s forced theme mode in this case.
To fix this, we believe that we need to pass an additional parameter to explicitly control the theme of the intent.

const result=await Share.share({
  text: text,
 });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions