React Native: onPress in Android side somehow triggers onNavigationStateChange
I have some code that I implemented a couple of months ago that fixed the ability for a user to who was reading an article on my app and wanted to click on a hyperlink inside that article, once having...
View ArticleReact native: "only the original thread that created a view hierarchy can...
pressing the button to get the base64 string of the svg ... produces the following error: - Only the original thread that created a view hierarchy can touch its viewsrender() { return ( <ScrollView...
View ArticleCouple filters in react-native-firebase [duplicate]
This question already has an answer here:Query based on multiple where clauses in Firebase 4 answersI am creating RN app with react-native-firebase, using Firebase Realtime Database as my DB. It is...
View ArticlecompileSdkVersion is not specified error in React Native Android
I get the build error when I try to build an Android app in my React Native project.When I run react-native run-android, it says:> Configure project :react-native-os WARNING: Configuration 'compile'...
View ArticleNetwork request started failing in production app with No valid NAT64 prefix...
We started getting a Network Request Failed error in our production app when users try to login on WiFi, mobile data never has this issue. It occurs on most but not all WiFi networks. We have pushed no...
View ArticleHow to use react-native-quikkly?
I recently integrated react-native-quikkly to my app. While working with it, I have some questions. I can't see the original image in rendered image. I can get svg file data using 'createImage'...
View ArticleTransparent backgroundColor for an Image using React Native on Android
I have an asset with transparent background being used on our app. While on iOS, setting backgroundColor: 'transparent' for the Image component works as expected, on Android, it always gets rendered...
View ArticleHow to I solve "Found corrupted package.xml at...
Here is my react native environmentSystem: OS: Windows 10 10.0.17134 CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz Memory: 1.56 GB / 7.85 GB Binaries: - Node: 10.16.2 - C:\Program...
View ArticleReact Native - change icon color on press
When the 'check' icon is being pressed, I want it to change color from default red to green. In my case, while I have another function for onpress, I use this conditional color statement<Icon...
View Articlebuilding android apps, without android studio, on "windows"
I am an "ABSOLUTE" beginner into this Android development world. I have no knowledge, and i am daring to jump here to ask the question, so pls dont shoot me!Well, I have my hands on React JS, so...
View ArticleReact-native android project with many error: Could not find class 'android.XXX'
I have a react-native project which should support minimum SDK version of 16 and is androidX but I get these errors using android studio logcat: E/dalvikvm: Could not find class...
View Articlereact-native with createSwitchNavigator and createMaterialTopTabNavigator...
Current behaviourAfter click login and logout couple of times and waiting on login page there is a memory leak error. This happens switching from createMaterialTopTabNavigator to a...
View ArticleWhat does the react error 'The component for route 'Camera' must be a react...
When I run my app I get the error: 'The component for route 'Camera' must be a react component'. I do not know what this means:Here is my App.js:import React from 'react'; import { StyleSheet, Text,...
View ArticleUnable to connect Android emulator to React Native debugger
I am unable to connect android emulator with react native debugger.When I run react-native run-android, it brings up the app successfully without showing any errors. It also brings up node Metro...
View ArticleCustom font not working in React Native
I want to use a font from google fonts in my app. Here is the font.I have placed the .ttf file in app/fonts. package.json:{ "name": "xxx", "version": "0.0.1", "private": true, "scripts": { "start":...
View ArticleUnable to resolve dependency for ':app@debug/compileClasspath': Could not...
i'm on Android Studio with an React Native project. Works fine on Xcode but A/S side i get a bunch of errors i'm not familiar with:-Unable to resolve dependency for ':app@debug/compileClasspath': Could...
View ArticleRNCamera Error:TypeError:...
[Unhandled promise rejection: TypeError: CameraManager.checkIfRecordAudioPermissionsAreDefined is not a function. (In 'CameraManager.checkIfRecordAudioPermissionsAreDefined()',...
View ArticleAdding native icon symbols reacts without Xcode and mac os
I wrote my program with React Native. I did some research on adding icons to the iOS app and found I needed Xcode but couldn't install the Mac for various reasons. Now I want to know if I have any...
View ArticleError when running expo run on react native app
When i run the app with expo start then after 5 seconds i got blank screen and this errorC:\Users\lp\apps\test\App>expo start Starting project at C:\Users\lp\apps\test\App Expo DevTools is running...
View ArticleRead and play sheet music react nativeor kotlin [closed]
I'm trying to write an music notation mobile app and have problem with read notation on app, can I read an music notation like xml file and show in five line (sheet music) and play it? Is it possible...
View Article