Skip to content

Expo example on ReadMe.md needs update #15

@Sarang-R-119

Description

@Sarang-R-119

The example caused an error Cannot read properties of undefined (reading 'statusBarHeight') Evaluating App.js Loading App.js.
This is because we have to import constants from expo-constants import Constants from 'expo-constants' instead of expo import Constants from 'expo'. I thought this might be a helpful tip for anyone facing this issue.

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