Category "react-native"

How device connect to bundle on local host of computer in ReactNative App

How does the connection in the RN app happen between the device that runs the Native app and the bundle that is in the Metro on the computer? I am familiar with

React-Native Error: Connection to http://localhost:8081/debugger-proxy?role=client timed out

I run react-native run-ios command and my app show for 3 secs before showing this. I am running on ios simulator ExceptionsManager.js:76 Connection to h

Command `yarn add react-native --exact` failed

I tryed to create new project but this happen , I update the core as they said here How to update core-js to core-js@3 dependency? but also no thing help me I

silent push notifications in react native app

We are working on a react native app, in which we have some features where we can do some actions using silent push notifications. we are using react-native-fir

ERROR Task :expo:compileDebugKotlin FAILED

I created an application using react-native init and was working fine until I tried to start using expo to test it on my telephone. Trying to start the app with

React Native Android App size is much big

I have developing apps for customers which can be run smoothly on their devices.My current app size is 5 MB. Now, I want to change technology to react-native bu

<SafeAreaView> not work (Views go above the notification tab)

For some reason safeAreaView does not work in my code, Views go above the notification tab. I've tried a few things but couldn't. I tried to take the style of s

How to zoom in/out in react-native-map?

I am using react-native to build a map application. The api I am using is from this link: https://github.com/lelandrichardson/react-native-maps. Below is the co

React Native Image with 'Bearer' authentication token

In React Native I can use images with <Image source={{uri: 'http://my.server.com/user/id/image/id.png'}} /> The problem is that user images are protected

React native async storage issues

In my react native app I am trying to save data into my local storage. It works fine most of the time but sometime I get error while setting the item. So here i

Error while executing npx react-native run-android

I am new to React native and trying to connect my android device but it is showing the following error. I have probably made some mistakes during installation.

Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile

I have updated node today and I'm getting this error: error: TypeError: Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFi

React-Native assembleRelease fails for task ':app:bundleReleaseJsAndAssets'

When I run ./gradlew assembleRelease build is failed with this error: Error:Execution failed for task ':app:bundleReleaseJsAndAssets. > A problem occurred

React Native - How to detect font size after a font scaling?

I need to detect what is the font size for text component after a font scaling. Let's say that I have a Text component with font size 18px <Text style={{fon

How to decrease React-Native android App Size

For my react native android app, size of codes I have written is only 12KB But package generated is of size 7.9MB. How can i decrease that. As per Documentati

How can I generate an apk that can run without server with react-native?

I've built my app, I can run it on my local emulator (and also on my android device within the same network by changing debug server). However, I want to build

React Native: failed to build project, possibly related to react-native-fbsdk-next?

in my react-native app I am SUDDENLY getting this build error! It seems to be related to react-native-fbsdk-next I'm using... Error: Command failed: gradlew.bat

React Native - View disappears when position is absolute on Android

Whenever I made the position style 'absolute' for this view, it disappears. I have no idea why it is happening. import React, { Component } from 'react'; impor

React-native fbsdknext when first logIn on android Profile.getCurrentProfile return null

Faced a problem while using react-native-fbsdk-next. The first call to Profile.getCurrentProfile on android returns null. Everything works correctly on ios. If

ENOENT: no such file or directory when running npm install command

When I run npm install, I getting the following error, npm WARN tar ENOENT: no such file or directory, open 'D:\Live Project\insyte-mobile\insyte-mobile\node_m