Skip to content

PlatformColor crashes on Android #6618

@rosskhanas

Description

@rosskhanas

Issue Description

The app crashes when PlatformColor is defined via ?attr/XXX.

Steps to Reproduce / Code Snippets / Screenshots

Navigation.setDefaultOptions({
  backButton: {
    color: PlatformColor("?attr/colorOnBackground"),
  },
}

Environment

  • React Native Navigation version: 7.0.0
  • React Native version: 0.63.2
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Debug

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions