Constants.isDevice is undefined

Please provide the following:

  1. SDK Version: 38.0.0
  2. 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


It seems you are accidentally attempting to import from:
expo-contacts instead of:


1 Like

My bad, gonna drink coffee and fix ))


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

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