Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Browsing all 29612 articles
Browse latest View live
↧

get coordinates of centre screen on call of onRegionChange or...

I am integrating react-native-maps and want coordinates of centre of screen everytime on call of onRegionChange or onRegionChangeComplete (It will show my marker remain fix at centre and my map is...

View Article


React Native offline App using react-native-sqlite-storage

I am new to react native. I wanted to build an offline react native app for storing user data (Basic user details, user personal documents, images, etc). I already gone through some documents of...

View Article


ScrollView not scrolling properly?

There is a ScrollView in my functional component. I am using an android phone connected to my laptop so that I can see the changes in the phone. Problem:When I slide on the right side of the phone...

View Article

How to get the path of a particular content in the React Native App for both...

I have created a React Native app using third party which creates News posts.I have the entire code for this.How to get the full path (Mobile app URI) of a content/news post.For example if I am posting...

View Article

Problems configuring react native [closed]

Well I'm setting up react native and this is giving an error on the console!ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.Please set the JAVA_HOME variable in your...

View Article


Image may be NSFW.
Clik here to view.

Unsupported react native modules in Android studio

I am new to react native and have created an app that I would like to use on both iOS and Android devices. When I run my app it works fine with iOS, however when I run my app with android studio on the...

View Article

Image may be NSFW.
Clik here to view.

Axios Promise Handling - Getting "Possible Unhandled Promise Rejection -...

In my react-native application on the login screen I'm working on providing the user with nice error messaging after entering in the incorrect username / password combination. To interact with the API...

View Article

How do I make my scrolling work properly?

I am making a react native project with my android phone connected to my laptop. Problem:When I swipe on the right side of my phone screen the page scrolls. But when I swipe on the center or left side...

View Article


Notification sound not working in react native firebase v6?

I'm sending a notification to users it's received it but without any sound "default device sound"I add a sound: 'default' in notification payload but still not works!here's my function // Send...

View Article


Android Studio - Unfortunately you can't have non-Gradle Java modules and...

I finished my first react native app and I tried to build it for Android, I clicked on build APK on Android Studio and I got the following:Unsupported Modules DetectedCompilation is not supported for...

View Article

React-Native error Task :app:transformClassesWithMultidexlistForDebug FAILED

When I run react-native run-android it goes only at 98% executing that takes almost 30mins to pop out the error. I also put multiDexEnabled true in the android/app/build.gradle.command...

View Article

React Native: How to disable PanResponder temporarily?

Below is the snippet for creating an instance of the panResponder: constructor( props ) { super( props ); this.position = new Animated.ValueXY(); this.panResponder = PanResponder.create( {...

View Article

react-native android app doesn't download new data using axios

I am using axios to get a page downloaded and this remote page is only updated once a day. I have noticed that even when running the function that does the axios stuff every minute or so using the...

View Article


react-native-push-notification ListenerService and ListenerServiceGCM

I am trying to integrate react-native-push-notification on android and am a bit confused.The documentation has a section called Android Manual Installation. It describes steps to update the...

View Article

Ignore SSL Certificate Check on Android React Native

I'm currently working w/ react native on Android. I am making api requests using fetch() but the requests give me a network request failure, which is due to the endpoint having no ssl certificate. I...

View Article


Android Studio Virtual Devices are gone (Emulator)

I just started to work and noticed that something is wrong with AndroidStudio. I have 3 Emulators that I've been using for some time. TODAY tho when I went inside AS I only have the option to create...

View Article

React Native - LocalAuthentication with FaceId in Android

I'm using expo-local-authentication module for biometrics authentication. I want to authenticate user with FaceId in my android device.As per the LocalAuthentication documentation, I'm using...

View Article


Image may be NSFW.
Clik here to view.

Java.lang.NoClassDefFoundError: Failed resolution of:...

This is React Native project. I have an error after successful build in Android Studio Emulator: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/FirebaseAppMy...

View Article

How to covert String into array in React Native

How to convert String into the array in React Native. for example:-var myString = 'this, is my, string';separate string with "," and output must be myArray = [this, is my, string]; on myArray[0] value...

View Article

React-Native :java.lang.UnsatisfiedLinkError: couldn't find DSO to load:...

I have just updated my project to use react-native version 0.60.2 . But when I am trying to run an application on Android device it gets crashed after launch screen. I got the following error logs :...

View Article
Browsing all 29612 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>