Crash when open Android React with detached Expo
I am new in React Expo and use detach Expo.It is working perfectly fine for debug but when I build as release and download apk, I got this error. I am trying to use ssl pinning though (should not be...
View ArticleWhy only Android 7.0 having SSL handshake error
Using React-Native.Why only Android 7.0 having SSL handshake problem?Server certificate is issue by comodo SSL, and only TLS 1.2 is enable at nginx. I tested on Android 5.0, Android 9.0 emulator...
View ArticleReact Native Version mismatch. Cannot generate build in Android Studio but...
When I run react-native run-android from VS code it runs perfectly on my android phone. But when I try to generate build from the android studio it shows me version mismatch error. I have tried every...
View ArticleData Saver Mode - React Native
I build an app using react native v0.60. Receive a complain from user when they set their phone in Data Saver mode the app is cannot be used. The user need to enable the Allow app while Data saver on...
View ArticleHow do you debug React Native?
How does one debug their React code with React Native while the app is running in app simulator?
View ArticleReactNative Metro Bundler not starting automatically
react-native run-android not starting bundler so i tried react-native start it showing below error.┌──────────────────────────────────────────────────────────────────────────────┐ │ │ │ Running Metro...
View ArticleReact Native app could not open after success install in my phone
I was trying to run my React Native app on my physical Android phone. I successfully run it and install it in my phone, however when I tap the icon and try to open the app, it shows a white screen then...
View ArticleHow to check in `react-native` that android device supports flashlight?
I have an icon of flashlight in my react-native application. I want to hide it if mobile device does not support flashlight or not has flashlight. In native android we have this solution:...
View ArticleReact native run-android do not updating modified code
I am using React native 0.52.0 and react-native-cli 2.0.1 on my Windows PC for android development. Despite all the changes i have made. When I run react-native run-android, it builds successfully but...
View ArticleFetch data from php url to save to local sqlite in react native
So i want fetch data from url, example from json.php and then store that to local sqlite in React Native. But i cant any refference or any problem same like mei tried find another database to get data...
View ArticleUnderstand a systrace
I am working on a react native app. I'm using react-navigation for navigating. The issue arises during one of the navigations where I feel a considerable Jank. I read on docs that we can use systrace...
View ArticleHow to retrieve data from Firebase of a selected item in React Native?
I'm recently practicing React Native and developed a login-signup-homescreen form attached to Firebase. I'm trying to get the username from the database and print the name of the logged-in user on the...
View ArticleReact Native flex view will not shrink after device rotation
I am new to React Native and have been struggling for a couple of days now with my layout overflowing the container after rotating the device and then rotating it back. What seems to happen is when I...
View Articlecordova to Native in playstore
I have my app on my playstore account and the app is been constructed in cordova . I have converted the app to native Android and I need to provide a release. When I update the app package, corrupt...
View Articlereact-native android fontFamily does not take effect
Question 1:I add a fontFamily to index.android.js's welcome style, but it takes no effect. Does fontFamily actually work on android?welcome:{ fontSize:20, fontFamily:'roboto-thin', textAlign:'center',...
View ArticleHow to Have both Header and BottomTabNavigator in functional component in...
I want to have both BottomTabNavigator and the default Header that is generated by createStrackNavigator.my problem is that when I try to use both of these options one gets ignored and react-navigation...
View ArticleReact-native-video not showing the video player
I am using react-native-video package to get video player in which i can play my youtube videos.I tried this but only a empty space was coming instead of a video player.import Video from...
View ArticleHow to create two columns with space beetwen in react native - flatList
Hi i'm new in React Native. I am trying to create two columns layout with space beetween using react native component called flatList.Here is my view Code:<View style={styles.container}>...
View ArticleBuild error when react-native run-android on app with no change
I have a react native 0.61 app which was running fine but is not without any change i am aware. Here is the error when react-native run-android:FAILURE: Build failed with an exception. * Where: Script...
View ArticleWhy assembleDebug success but assembleRelease failed in react native?
I have tried to assemble my project as a release. But it always failed. Below are some of the script that I use to build my apk as release:-BUILD SUCCESSFUL.\gradlew assembleDebug --no-daemon .\gradlew...
View Article