Skip to content

[ANDROID] Heading is undefined after RN upgrade #12

Open
@joegoodall1

Description

@joegoodall1

After upgrading from RN0.39->0.44, heading was coming back as undefined on Android.

This appeared to be because instead of using data.heading (as it says in the README.md) it was just data.

So in case anybody else has the same problem the fix was using this
heading = Platform.OS === 'ios' ? data.heading : data instead of heading = data.heading

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