Relative Content

Tag Archive for react-nativeexpo

react native throws “cannot read property of null” error for a function inside a properly defined module

import BackgroundGeolocation from ‘@mauron85/react-native-background-geolocation’; //inside a useffect hook console.log(BackgroundGeolocation) // Does print out all the functions and the propities of the module including “configure”: [Function configure], this is also called a line before the error” BackgroundGeolocation.configure({ // <– THE PROBLEM –> “TypeError: Cannot read property of null” ????? //my config }); // tried clearing cache, […]

Expo Go App stuck in splash screen on Android device

I’m just trying to open the Expo Go app to preview an app that I’m developing. It gets stuck in the splash screen and will take forever to open. And I’m talking about the Expo Go App splash screen, not my app splash screen. My device is a Samsung Galaxy Tab Active4 Pro.

Changes to splash and icon in app.json not reflecting in Expo app

I’ve recently updated the splash and icon sections in my app.json for my Expo project. However, when I run the app, the changes don’t seem to be reflected. I’ve tried restarting the Expo server and clearing the cache, but the old splash screen and icon are still showing up.