If you get this error, TypeError: Cannot read property 'isDevice' of undefined while using Device.isDevice in your expo project, you are probably using a wrong import method.

To resolve, change:

import Device from 'expo-device';

To:

import * as Device from 'expo-device';