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 ArticleReact 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 ArticleScrollView 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 ArticleHow 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 ArticleProblems 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 ArticleUnsupported 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 ArticleAxios 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 ArticleHow 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 ArticleNotification 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 ArticleAndroid 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 ArticleReact-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 ArticleReact 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 Articlereact-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 Articlereact-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 ArticleIgnore 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 ArticleAndroid 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 ArticleReact 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 ArticleJava.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 ArticleHow 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 ArticleReact-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