140 questions
0
votes
0
answers
79
views
RN 0.70.15 crushes on 16kb devices
I’m trying to enable React Native 0.70.15 for a device with a 16KB page size. I need to upgrade the targetSdkVersion to 35 while using RN 0.70.15.
Currently, the application works fine on devices with ...
1
vote
0
answers
68
views
VS Code Debugger Not Attaching to React Native Expo Project
I am trying to set up a debugger for a new React Native project using Expo in VS Code. I tried way too many things now, but I am consistently running into issues where breakpoints are not being hit ...
3
votes
0
answers
309
views
TypeError: initialize is not a function, after upgrading from React Native 0.75.3 to 0.80.1 (Hermes + New Architecture)
After upgrading from [email protected] to [email protected], my app fails to launch on both Android and iOS. The runtime immediately crashes with the following error:
Does anyone know how to ...
1
vote
1
answer
280
views
ERROR Integrating [email protected] in React Native CLI – Cannot assign to property ‘protocol' which has only a getter, js engine: hermes
I have created a React Native CLI app project in TypeScript with Supabase integration. I’ve set up my client like this:
import { createClient } from '@supabase/supabase-js';
export const supabase = ...
7
votes
5
answers
7k
views
[runtime not ready]: ReferenceError: Property 'require' doesn't exist, js engine: hermes
I’m working on a React Native project using Expo SDK 53 and React Native 0.79.2. When running the app, I get this runtime error:
[runtime not ready]: ReferenceError: Property 'require' doesn't exist, ...
1
vote
1
answer
939
views
React native iOS crash on launch (EXC_BAD_ACCESS (SIGSEGV) - How do I find the code that's failing?
I'm taking over a React Native app from previous developers. I'm very new to development, but keen to learn.
When I deploy the iOS app to TestFlight and install the app on my iphone, it crashes on ...
0
votes
0
answers
158
views
React Native Devtools (Expo) not connecting / interacting with app
I'm having some issue with the RN Devtools, where it doesn't seem to be properly maintaining a connection or something. It'll load and show everything that it should - but then it doesn't seem to ...
7
votes
1
answer
5k
views
React Native [runtime not ready]: TypeError: Cannot read property 'style' of undefined after upgrading from 0.73 to 0.78
I'm working on a React Native project and recently upgraded it from version 0.73 to 0.78.
Upgrade Process I Followed:
I created a brand-new React Native 0.78 project using the CLI.
Verified that the ...
1
vote
2
answers
554
views
For React Native Expo project built for iOS, unable to use debugger whether Hermes or JSC is specified as jsengine
I am trying to access the debugger for iOS for a React Native project using Expo but for either Hermes or JSC specified as the jsengine in the app.json file, I am unable to use Chrome Dev Tools (hot ...
0
votes
0
answers
131
views
React Native Crashlytics iOS Crash: "Unhandled JS Exception: TypeError: Restricted in strict mode, js engine: hermes", - How To Diagnose?
I'm encountering a crash in my React Native app. The crash report from Crashlytics indicates an unhandled JavaScript exception with the following error:
Fatal Exception: RCTFatalException: Unhandled ...
1
vote
1
answer
178
views
java.lang.UnsatisfiedLinkError: dlopen failed: library "libhermes_executor.so" not found
I upgraded my React native from 0.71.8 to 0.76.5. After the upgrade, I run the app on my Android phone, and I got the below error
java.lang.UnsatisfiedLinkError: dlopen failed: library "...
1
vote
1
answer
2k
views
React Native Build Issue with Xcode
first I must apologize for this broad title but I couldn't exactly pinpoint the origin of the issue I was having. I’m encountering issues while trying to build my React Native app. The errors differ ...
1
vote
0
answers
76
views
BSON expo web configuration, await is not defined
I'm using bson package from npm in my react native expo app and it's working but when I try to use the app as web using expo web with metro bundler, I get this error Uncaught ReferenceError: await is ...
0
votes
1
answer
509
views
iOS ipa and app file size increased after building with xcode16
iOS App size got increased after generating build with Xcode 16. I have compared the .ipa file contents generated from Xcode 15.8 and Xcode 16.1 version, there was huge increase of size which is ...
0
votes
1
answer
48
views
Blob not found "sometimes" when accessing a content URI subsequent times
we are currently facing an issue when working with blobs in our application. We organize attachments in our application with blob/content URIs. The general flow is as follows:
We use XMLHttpRequest ...
0
votes
2
answers
325
views
React Native Expo build fails - unknown property 'hermesEnabled'
I am trying to build my react native project with eas build -p android --profile preview, but continue to get the following build failiure error:
FAILURE: Build failed with an exception.
* Where:
...
0
votes
0
answers
402
views
I have increased react-native version of my app to 0.75.3 it's working fine on android but for ios it is giving error related to hermes engine
Developer/Xcode/DerivedData/Project-bnqohelonpfvjpescjpbsmsquwly/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/hermes-engine.build/Script-46EB2E0005D340.sh: line 2: /scripts/xcode/with-...
0
votes
1
answer
561
views
MinimumOSVersion in 'MyProject.app/Frameworks/hermes.framework' is ''. in react native
While uploading on TestFlight, I have this error. I searched a lot but didn't helped any thing. I am using RN v.0.74.4.
Invalid minimumOSversion. Apps that only support 64-bit devices must
specify a ...
2
votes
1
answer
204
views
React Native and Reanimated Error: Rendered more hooks than during the previous render when adding objects to an array
I am having trouble allowing a user to dynamically add objects to an array that is rendered to the screen using useSharedValues()
This is my main screen where objects are added to an array
import { ...
10
votes
3
answers
6k
views
Visionos method in hermes engines fails the pod install
I just updated the expo to version 51.0.28 and react native to version 0.74.5 using npx expo-doctor.
But now i have this error while starting the project, couldn't find any lead in the hermes engine ...
6
votes
3
answers
5k
views
ReferenceError: Property 'TextEncoder' doesn't exist
I'm using react native 0.72.4
I'm getting this error: Reference Error: Property 'Text Encoder' doesn't exist at multiple places in my app. I didn't use it explicitly but my npm packages like qr-code-...
3
votes
0
answers
282
views
React Native Build Error: "OS not recognized. Please set project.react.hermesCommand to the path of a working Hermes compiler."
I'm encountering an error while trying to build a React Native project on an ARM64 runner. The runner is in a pod, and the pod's container is based on arm64v8/ubuntu:latest docker image.
The error ...
0
votes
0
answers
823
views
Expo with Threejs: RangeError: Property storage exceeds 196607 properties
When loading an OBJ model into a Threejs scene in an Expo app, it can fail with the error:
RangeError: Property storage exceeds 196607 properties
Is might be because the OBJ is too complex for the ...
1
vote
1
answer
4k
views
react-native-snap-carouse | ERROR TypeError: Cannot read property 'style' of undefined, js engine: hermes #1017
After updating my Expo version and other packages, I get this error in Carousel.js;
Here is my code;
import React, { useState } from "react";
import { View, StyleSheet, Platform } from "...
4
votes
0
answers
406
views
Why getting "remote fetches not permitted" in console while debugging React-native app?
While debugging a react-native app, and accessing edge://inspect/#devices page and then clicking on Inspect of option Hermes React Native I am getting this error:
Failed to fetch source map http://192....
1
vote
0
answers
673
views
FRIDA Access Violation Error in Intercepting HermesRuntimeImpl::call
I am currently working on intercepting calls to HermesRuntimeImpl::call in a react native Android application using Frida. My goal is to extract arguments passed to this function and perform ...
0
votes
1
answer
1k
views
Resolve Node.js crypto module in React Native
I have React Native project, where I installed a npm package, which used itself crypto module of node (require('crypto')) and it causing issues with React Native. is there any modern / clean way to ...
1
vote
0
answers
297
views
Chrome devtools extremely slow using React Native Hermes
Steps to reproduce:
npx expo run:ios --device
Choose any device or simulator
Run app + JS debug
Observe
Chrome dev tools is extremely slow. What could the issue be?
React native: 0.72.5
Expo: 49.0....
0
votes
1
answer
2k
views
Why am I getting "ReferenceError: Property 'axios' doesn't exist, js engine: hermes" when I try to register a new user?
The part of the code that is causing the problem has the following syntax:
import axios from "axios";
const handleLogin = () => {
const user = {
email:email,
...
0
votes
1
answer
236
views
How to address Date inconsistencies between the Hermes and V8 runtimes in React Native?
I am currently working on a React Native application using the Hermes runtime, and I've encountered some unexpected behaviors related to the Date object when running tests on Node.js with the V8 ...
0
votes
1
answer
1k
views
React Native 0.70.15 - Error installing hermes-engine (curl 404)
Just released 2 days ago.. Seeing this error for pod install:
Installing hermes-engine (0.70.15)
[!] Error installing hermes-engine
[!] /usr/bin/curl -f -L -o /temppath/file.tgz https://github.com/...
1
vote
0
answers
167
views
Understanding Source Map Generation Through Multiple Code Transformations (TypeScript, Hermes, Obfuscator, etc.)
I'm working on a project involving multiple layers of code transformation, and I'm trying to understand how source map generation works in such a complex setup. Our project uses TypeScript, and on top ...
0
votes
1
answer
625
views
React Native & Hermes: Is Additional Code Obfuscation Beneficial?
I hope this message finds you well. I am currently working with a RN project that involves compiling JavaScript into bytecode using Hermes. Given that Hermes inherently converts JS into bytecode, ...
2
votes
1
answer
3k
views
RN 0.73.2 Xcode 15 Build target hermes-engine: Command PhaseScriptExecution failed with a nonzero exit code
I am facing the following problem after running my project again, the pod installed successfully without any problem, but when running using yarn run ios command, the error as below occurs, has anyone ...
1
vote
0
answers
283
views
React Native v0.72 debugging: Browser exited with error:, inbalid url, missing http/https protocol
I tried opening the debugger on the iOS simulator and got this error as soon as I clicked it:
info Opening flipper://null/Hermesdebuggerrn?device=React%20Native...
error Browser exited with error:, ...
5
votes
1
answer
4k
views
React Native: Property 'structuredClone' doesn't exist when running the app in Expo Go
I'm developing an application with React Native and I'm using the structuredClone function in my code for deep-cloning objects.
My project was scaffolded with Expo's CLI. React Native version is 0.72....
1
vote
1
answer
301
views
How to build release Hermes js bundle for React Native project?
I need to generate a js bundle for the React native project which uses Hermes.
With react native CLI I can only generate non-hermes bundle npx react-native bundle
What should I trigger to generate ...
1
vote
1
answer
179
views
uint array behaving differently when using hermes javascript engine
I am creating a mobile (iOS) application that communicates with an esp32 and puts this information on a database (I am using firebase). The esp32 sends an array of bytes to my phone after which I ...
3
votes
0
answers
399
views
React native android application gets stuck on ProfileInstaller on the first run
I recently upgraded my dependencies and upgraded from React Native 0.68.5 to 0.72.6, enabled hermes and fabric, I will say everything went well except for one thing, on Android I started experiencing ...
3
votes
2
answers
2k
views
iOS React Native Hermes not show in chrome inspect
I just upgrade my iOS RN from 0.63 to 0.65. Then enable hermes in podfile.
I can start app normally, JSI is showing in developer menu, mean hermes is running.
I follow exactly guide from https://...
1
vote
1
answer
2k
views
push() function shows error message: `cannot add a new property`
This is my code:
const saveReserve = () => {
if (polygons && creatingPolygon) {
let last = creatingPolygon.coordinates[creatingPolygon.coordinates.length - 1][0][0];
console.log({last, ...
2
votes
1
answer
1k
views
How to load WASM in Expo (react-native) App
How can I load a wasm file into an expo react native app? I am using "expo": "~49.0.8"
Here is everything I have tried:
I tried using Asset and useAssets from expo-assets
I tried ...
0
votes
1
answer
412
views
TypeError: Object.defineProperty is not a function
When I try to run my react native expo app in iOS using npm start , I get the following error in the require.js file:
the screenshot of the exception
I tried removing and readding the node_modules ...
1
vote
1
answer
485
views
React Native TVOS Upgrade Issue: 'MinimumOSVersion' Missing in Info.plist Hermes Enabled
I'm woking on tv os app.I recently upgraded React Native TVOS from version 0.69.8-2 to 0.71.11. After the upgrade, I'm encountering an issue when trying to upload my IPA file to Transporter.
The error ...
0
votes
0
answers
2k
views
TypeError: undefined is not a function, js engine: hermes (React Native Expo) (UPDATE: fixed it already)
I am building an app with React Native Expo that includes a form that uses datetimepicker.
The error always occurs after I submit a third form. The first two submissions always work just fine so my ...
5
votes
2
answers
4k
views
Redux DevTools with Expo 49 beta (React Native & Hermes engine)
2024 EDIT:
There's a new and better way to use Redux and Expo now! Check this out:
redux-devtools-expo-dev-plugin: https://github.com/matt-oakes/redux-devtools-expo-dev-plugin
I'm using Expo 49 Beta (...
2
votes
0
answers
2k
views
Unable to debug new Hermes React Native app using Chrome DevTools
I am currently working on a new React Native project that uses Hermes as the JavaScript engine. However, I'm facing difficulties when trying to debug the app using Chrome DevTools.
I have followed ...
2
votes
0
answers
317
views
Getting TypeError with expo-screen-capture module when running standalone
TypeError: Cannot read property 'expo_module_name' of undefined, js engine: hermes in expo-screen-capture library of react native.
I want to provent screenshots for the expo app. For that I installed ...
0
votes
0
answers
53
views
Why is libbetter.so causing Fatal Exception on certain Android devices in production build?
Fatal Exception: could not delete: /data/user/0/com.package_name/lib-0/libbetter.so on production build
Fatal Exception: java.lang.RuntimeException: Unable to create application com.packageName....
1
vote
0
answers
711
views
How to enabled hermes engine with custom build types in React Native v71 app?
Hermes was initially enabled when i picked up this project, this is not an expo app. before i added custom build types, the entire buildtypes, subprojects, and application.all objects were entirely ...