Relative Content

Tag Archive for javascriptreact-nativeexpo

Unable to get date in React Native

I have been looking everywhere to a solution to this problem which I’ve been on for hours now. I am trying to get a date in my React Native expo app. However keep getting error

Pressable event does not work after updating to the new architecture

I’ve noticed that using the new architecture under a brand new app (expo app) the pressable button gets stuck. The example is from the Pressable documentation, with a minor change on how it shows the components.
Disabling the new architecture it works as expected
Using a Pixel_3a_API_34_extension_level_7_x86_64 emulator

Expo react native

Hi flocks i use create expo react native project about accessing mobile camera below i will provide my code. it will work fine till last week and i do change in my project like after login in my app camerascreen only apper on screen. but last few days after that change it throw only error i will provide my error IMG below.

TypeError: Cannot read property ‘mail’ of null, js engine: hermes

I created a Test App to play around with sending emails from a react-native app and I keep getting this “TypeError: Cannot read property ‘mail’ of null, js engine: hermes” Error. My code is very minimal and all I am trying to do is open the devices default mail application with a very basic email. I am using expo as well and I am running the app on my Iphone 13 via expo.

My React Native Expo app crashes when I render a MapView

I’m making an app about a simple social media where you can share your location while you are in a walk, and I’m using MapView component of react-native-maps. When I use Expo Go, everything is okey, but when I make the build, the apk crashes when I go those components which use a MapView on them. I thought the reason was location permissions, but that’s not true since I did testing with a component that doesn’t use any location of the device, just hardcoding coordinates on the MapView props, but I don’t know the reason yet…
I don’t have any API key of Google Maps, but I don’t know why that could be a problem since in Expo Go using my device everything is okey… I’m stuck.
I’ll give you the sample of code that I used in the component where I publish a new location: