Skip to content

api.js file from Lesson 4: Expo.Constants.manifest #1

@ltaljaard

Description

@ltaljaard

At around 2:04 of the Fetching data from an HTTP API lesson, where you say const { manifest } = Expo.Constants;
Untitled 33

This leads to a runtime error which reads "Cannot read property 'Constants' of undefined"

Expo.Constants is inspectable in Chrome debugging so it's not like Constants is unavailable:
Untitled 34

This is how the error looks in the iOS simulator:
Untitled 35

Could you shed some light on this error?

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