Skip to content

Run react-native run-android crash #517

@diegolmello

Description

@diegolmello

This bug happens on Android development only

We're using native icons everywhere in the app, but this is a limitation of react-native-navigation on header buttons when running in dev mode.
Workarounds:

  • Option 1: Change all header buttons to use react-native-vector-icons
// before
icon: { uri: 'settings', scale: Dimensions.get('window').scale },
// after (remember to add `import { iconsMap } from '../../Icons';`)
icon: iconsMap.close,

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