Category "react-native"

How to add icon of the app on the home android screen (react-native)?

When installing on Android, it does not add a shortcut on home screen, but the app used to. You can find it in the app drawer only now. How to add icon of the a

Remove background in react native

I have updated my react native and expo version and it set grey background that I can not remove or I just do not know how. Help me please, I tried to remove it

React Native StatusBar: dark-content not working on android

I'm trying to change the color of the title and the icons of the status-bar to be black. so, according to the react-native status-bar documentation, I set the b

Metro Has Encountered an error: Cannot read properties of undefined(reading 'transformfile'). ERROR

Not sure Why I am getting this issue. I am following a react-native tutorial, and am experiencing this error: TransformFile(filePath, transformOptions) { va

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