Relative Content

Tag Archive for javascriptreact-nativeexpo

Issue with Selecting Location in React Native Maps

I am using react-native-maps to let users select a location from the map. However, I have to click multiple times before the location gets selected, and the marker updates its position. Is this a performance issue, or is there a problem with my code?

In React native, I’m facing the below error

Exception in HostObject::get for prop ‘NativeUnimoduleProxy’: java.lang.SecurityException: Permission Denial: registerScreenCaptureObserver from pid=4161, uid=10197 requires android.permission.DETECT_SCREEN_CAPTURE, js engine: hermes

expo install with init teamplate

Error downloading and extracting template package: Error: Could not parse JSON returned from “npm pack expo-template-blank –dry-run”

Expo / React Native – Unable to Load Local Images

I’m building a mobile app using Expo/React Native. As of yesterday all instances of < Image > that use images stored locally using require() have stopped displaying. Sometime I see a black cross on a white background, sometimes nothing. All instances of < Image > that load images from a server are still functioning. I have no idea what could have caused the issue – I’ve added no new dependencies etc. – but have tried the following to remedy it.