Skip to content

global.__expo is now gettting deprecated. #23

Description

@rabbihossain

In index.js - line 55 , there is a function that checks if we are on an expo environment.
The code block is this one in index.js.

const getExpoRoot = () => global.Expo || global.__expo || global.__exponent;
export const isExpo = () => getExpoRoot() !== undefined;

Due to the release of SDK40 they are giving a warning that global.__expo or global.Expo will be removed in SDK41. I think this one should be removed or replaced with something else.

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