Error when accessing Expo libraries

I get the following errors when trying to use Expo.Facebook and Expo.SecureStore:

[TypeError: undefined is not an object (evaluating '_expo.Expo.Facebook')]
[TypeError: undefined is not an object (evaluating '_expo.Expo.SecureStore')]

Here’s how i import expo

import { Expo } from "expo"

Is there anything apart from the import I need to do to get this to work?

Whoops. The correct way to import Expo is

import Expo from "expo"
2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.