Importing ScreenCapture from 'expo-screen-capture' crashes app

Crashing on my Android device but I suspect it to crash on iOS as well. SDK Version 42.

Installed with ‘expo install expo-screen-capture’.

import * as ScreenCapture from ‘expo-screen-capture’ gives the following error.

TypeError: undefined is not an object (evaluating ‘_expoModulesCore.NativeModulesProxy.ExpoScreenCapture’)

Edit:
Resolved by downgrading expo-screen-capture to 4.0.3

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