scrollTo(y,x,animated ) is deprecated in react-native using ScrollView

Hai while i am using ScrollView in react-native, I got some warning messages like scrollTo(y,x,animated) is deprecated, Below is the screenShot images for both android and IOS. can you any one...

How to add custom font in react native android

I want to set fontFamily to roboto thin of my toolbar title. I have added roboto thin ttf in assets/fonts folder of my android project, however it seems that it is creating issues while running...

React Native app stuck on blank white screen with remote debugging using Nuclide

Steps to Reproduce / Screenshots Apply all operations from the instruction: Create a blank React Native project with $ react-native init [project name] From the command Palette (Cmd-Shift-P)...

Could not get BatchedBridge, make sure your bundle is packaged correctly

i am having problem with react-native in Android (Could not get BatchedBridge, make sure your bundle is packaged correctly ) [![enter image description here][1]][1] i tried everything : update...

Android SDK cannot be found by flutter

I have installed flutter through AUR. I also have aur/android-sdk 26.0.2-1 installed. When I run flutter run I get: Warning! This package referenced a Flutter repository via the .packages file...

API key not found

I'm trying out React Native Maps but get this when I do react-native run-android: API key not found. Check that <meta-data android:name="com.google.android.geo.API_KEY" android:value="your API...

React Native run on multiple simultaneous Android emulators

I would like to test my app on at least 2 Android emulators simultaneously. I can start 2 emulators but can't seem to find how to react-native run-android my app on 2 emulators with ADB. If...

Android Navigation Bar height React-Native

I'm trying to get the Android Bottom bar working (the bar where you have the back button) height with RN. I did the following: Dimensions.get('window').height I get the height with this bar!...

How to get current location using react-native-maps

Im trying to render a map at the current user geolocation on android device, using react-native maps. Here is what i've got so far: import React, { Component } from 'react'; import { View, ...

React Native app crashes without any error log

React Native app crashing without any error log. No output on "react-native log-android" terminal, no red screen with error, Android emulator just crashes. Tried running with Expo, again crashes...

React Native - Android TV - DPad Functionality

I have published a react native application to google play store for android tv. For tv, I have received notification for: Missing DPad functionality Your app requires user interaction for menus...

React native TouchableOpacity onPress not working on Android

TouchabelOpacity works fine on iOS but the onPress method does not work on Android for me. My react-native version: 0.57.4 My code: const initDrawer = navigation => ( <TouchableOpacity ...

how to reset firebase auth password in react native

I want to know how to reset password of firebase email authentication password in my react-native project . I like to sent an email for resetting the password. How to do that using the following...

Unable to load script.Make sure you are either running a Metro server or that your bundle 'index.android.bundle' is packaged correctly for release

react-native run-android command terminates by leaving a message in android simulator. The message is as follows: Unable to load script.Make sure you are either running a Metro server or that...

Create SDK in React Native

I want to create an SDK for iOS and Android apps for service layer(basically backend interaction) in React Native. Output from the SDK should be either .a or .framework file, which can be imported...

How to break line of label on "react-native-picker-select"

I'm using react-native-picker-select from this repository: https://www.npmjs.com/package/react-native-picker-select. The labels I'm using are to big to fit the screen, so the text isn't completely...

How to get weeks/ days/ hours/ minutes ago from custom date & time "from now" in React Native?

I have a date & time format: 2019-11-25 09:49:19. How can we compare this from current date & time and can display like: 3 days ago or weeks/ hours/ min ago

React native Task :app:bundleReleaseJsAndAssets FAILED

I try to generate apk with cmd "gradlew assembleRelease --stacktrace" but it fails & I always get the same error message : > Task :app:bundleReleaseJsAndAssets The filename, directory name, or...

Execution failed: 'app:compileDebugJavaWithJavac FAILED' -ReactNative

I have installed react-native-navigation locally inside the project, even then it is displaying an error app:compileDebugJavaWithJavac FAILED. I then tried cd android and then ran gradlew clean,...

Android Execution failed for task ':app:compileDebugJavaWithJavac'. - React Native

I am working on a react native application. when I try to build the applications using react-native run-android the build fails. Here is the output of the error that occurs. FAILURE: Build failed...

How can I generate an AndroidManifest.xml from an existing react-native project?

I already have a react-native app created and I wanna access the user's geolocation. Well, I don't have any Android's folder and I need to add some permissions in AndroidManifest.xml. How can I...

React Native Axios upload image return Network Error on Android

I tried to upload some data including an image to server using Axios. It's working perfectly on iOS, but on Android, it returned Network Error const data = new FormData(); ...

How to add "App Open Ads" of admob in react native android app?

How to add "App Open Ads" in react native app android? Thank you.

YogaKit.modulemap not found in React Native on IOS after build in Xcode 12.4 on Macbook M1

Just make a new React Native projects on new Macbook M1. At first it was building on Xcode 12.4 with any troubles. But after a few days build failed with error: fatal error: module map file...

Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'?

I am using react-native integrating Razorpay Payment Gateway. Version used : "react-native-razorpay": "^2.2.4" Perfectly works with Android, APK built and tested. The same when I start building...

React Native build failing Could not HEAD /android-jsc/maven-metadata.xml'

I'm trying to build my react native app which has been working for weeks, but now I'm getting the following error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for...

Unable to load Maven meta-data from https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml Issue in react native

FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ':app:lintVitalRelease'. Could not resolve all artifacts for configuration...

Start React Native : Error 502 from maven-metadata.xml

When I execute npx react-native run-android I have a 502 error that does not allow me to start my project. I have read these recents topics : "React Native: Android "Received status code 502 from...

Task :app:mergeDebugAssets FAILED when I try to run npx react-native run-android

I'm working on an android app on react-native using vscode and a physical android device and it keeps showing the error below while trying to build using npx react-native run-android. Task...

React native: Error "Unexpected identifier '_classCallCheck'.import call expects exactly one argument"

I'm using React-Native on my android program, after open my porject with react-native run-android ,the error occurred.The same error message occurred twice. Unexpected identifier...