Skip to content

getIsHeadless() always returns false #6429

@ghiculescualexandru

Description

@ghiculescualexandru

Seems like the documentation says that for react-native-navigaton getIsHeadless() function can be used to see your app headless state. However, it seems that it always returns false. After some digging, I can see in this merged PR (#4304) that isHeadless is set to YES only if rctRootView is != nil. But on react-native-navigation the rctRootView is always nil.

I'm only talking about iOS.

Was this tested? Is there any way we can have the headless check available for react-native-navigation?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: StaleIssue has become stale - automatically added by Stale bothelp: needs-triageIssue needs additional investigation/triaging.type: bugNew bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions