TypeError: undefined is not an object (evaluating...
I got this problem when i expo publish my react native app with or without --release-channel dev flag.I set up a config file environment.js to get different release version like this :import Constants...
View ArticleHow to use Android Emulator on macOS + React Native with as little Android...
I'm using React Native at work on the latest macOS version, allowing me to easily use Simulator for testing and debugging on iOS. Now I want to debug and test on Android. I have a personal Android...
View Articlestuck at starting intent main activity react native app
Trying to run the react native app on mobile device connected using react-native run-android. The app build was successful but the app crash on opening and on the command prompt it stucks on Starting:...
View Articlemessaging().onNotificationOpenedApp is never triggered,...
I'm using react-native-firebase v6.4.0. I successfully registered a background handler with setBackgroundMessageHandler and everything works fine. Now I'm trying to handle notification tap when the app...
View ArticleReact-native app is not showing the screens
I am getting these errors.TypeError:undefined is not an object (evaluating'_reactnative.View.propTypes.style')
View ArticleNot able to set `ShadowColor` in react-native android
EnvironmentEnvironment:OS: macOS High Sierra 10.13.1Node: 8.9.1Yarn: 0.17.10npm: 5.6.0Watchman: 4.7.0Xcode: Xcode 9.2 Build version 9C40bAndroid Studio: 2.3 AI-162.4069837Packages: (installed)react:...
View ArticleViroReact render issue in debug build android
I am using ViroARSampleApp code to demonstrates placing, rotating and dragging objects in AR. Everything is working fine when I run react-native run-android --variant=arDebug but when I detach data...
View ArticleReact Native Own font doesnt get applied to all elements
I wanted to implement my own font (from google) to use it inside my app. I loaded it and it works because some text gets changed by it. However some text doenst change which doesnt make sense to me.I...
View ArticleReact-navigation drawer content is misaligned
I'm writing a React Native app that uses the react-navigation 5.x library, specifically @react-navigation/drawer. I have four screens in the drawer, each with an icon and a label. ScreenshotMy problem...
View ArticleDownloading Video in an Application in React Native
I'm creating an app in React Native in which I want to download a video in the application, but that video should not appear in Gallary of the device. It should download in the application's folder....
View ArticleReact native camera stay black after component change
I am currently working on a react-native application.I would like to use the camera with the 'expo' package. I manage to display the camera, but when I switch between my components (main menu...
View ArticleHow to close webview after the work is done in react native
I am using following code to render a webview:const someHTMLFile = require('./somefile.html')render() { return (<View style={{flex: 1}}><WebView style={{flex: 1}} source={someHTMLFile} ref={(...
View ArticleHow to handle back button behavior in bottom tabs in React Native?
I have a @react-navigation/bottom-tabs navigator when my app opens whose contents are like:<Tab.Navigator tabBarOptions={{ activeTintColor: '#77dd77', inactiveTintColor: 'gray', }} tabBar={props...
View ArticleTask :react-native-screens:androidJavadoc FAILED
I'm trying to debug my project and to deploy it as APK.I'm using only android. When I debug the project or install the signed release APK it crashes.Now I search the error with ./gradlew build...
View ArticleHow to set backgroundColor of tabbar when the borderRadius is given to it?
I want to set my tabBar of borderRadius 30 and set the backgroundColor of the tabBar, but the problem is that there is white color background in the tabBar even if I have set the backgroundColor to...
View ArticleReact Native - StatusBar color iOS and Android
I can't set the color of the status bar on iOS and Android on React Native with Expo.I just managed to hide it. Code : import * as React from 'react';import { WebView } from...
View Article"npx react-native init client" fails on Android while executing. React Native...
System: Windows 10NodeJS: v13.8.0React Native: 0.62.2React: "16.11.0"It also happens with typescript templateAfter I run npm run android, I have these logs:info Running jetifier to migrate libraries to...
View ArticleHow to register a new fingerprint in the device?
I am using this library in RN to implement fingerprint scanning react-native-fingerprint-scanner and its working fine with scanning but I would like to implement a function that registers a new...
View ArticleDeprecated Gradle features were used in this build, making it incompatible...
I try to get Apk in react-native however it doesn't give me anything. release file which is in Apk file is empty and after Gradlew bundle release is finished, it says Deprecated Gradle features were...
View ArticleExport enum or constants from Android bridge to ReactNative
I've the next error on my Test React Native project.I've a native library on android that I expose to ReactNative.based on the ToastModule sample of Facebook/ReactNative, i'm trying to export Constants...
View Article