Please provide the following:
SDK Version: 38.0.0
Platforms(Android/iOS/web/all): all
import * as Constants from "expo-contacts";
Constants.isDevice
is undefined
Tested via:
iOS 13.6.1 via Expo client
Android 10 via Expo client
Android 10 via app, installed from Google Play
wodin
September 7, 2020, 10:00am
2
Hi
It seems you are accidentally attempting to import from:
expo-contacts
instead of:
expo-constants
.
1 Like
My bad, gonna drink coffee and fix ))
Thx!
2 Likes
Glad you got things sorted out, @jkweblab . Hope you didn’t spend too much time banging your head against the wall for this one. Though I wouldn’t fault you as we’ve all done the same at some point haha.
1 Like
system
Closed
October 8, 2020, 2:25pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.