How to change view before Android App is put to background?
I have an App with two Views, blue view must be shown only when app is in active state (foreground) and the green view must be shown when app is put on background (e.g. clocking on hardware square...
View Article"Attempt to invoke interface method 'voidorg.unimodules...' on null object...
My expo app ran fine on ios, but it would crash without an error message on android, so I converted it to a bare react-native app using expo eject and now I am getting this error on my Android...
View ArticleGoogle maps click on Point of interest returns different placeId on Android...
I am working on react native application using package "react-native-maps": "0.27.0". I am watching for click on Point of interest (poi) and trying to read a location returned object. But there is...
View ArticleHow to lock Android device after unlocking with setShowWhenLocked(true);
I am creating a video calling app and have the following code which is called when the application receives a push notification - it unlocks the screen and presents an 'incoming call' user...
View Articlereact-native apk not worikng on the android device
This is my first react-native project and it is pretty simple it has just 2 screens. Both of the modules are working fine in the production. I am using expo with bare workflow. adb logcat is like...
View ArticleReact native, Debugging a native library?
Suppose there's a RN library which has native (java/swift) code in it. I'd like to debug this java code, (it seems it has a bug)How can I set a breakpoint in this native code? I can't find this file in...
View ArticleOpen Chrome browser in React Native Webview - react native app > .60
I am looking for a way to open chrome browser using react-native-webview plugin ref. : https://www.npmjs.com/package/react-native-webview .As i try to implement the plugin is always open the system...
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 Articlereact-native apk not working on the android device
This is my first react-native project and it is pretty simple it has just 2 screens. Both of the modules are working fine in production. I am using expo with a bare workflow. adb logcat is like...
View Articleexpo standalone app crash due to react-navigation
I am new to react-native(using Expo). I Have build an online exam app using expo. I am facing problem with react-navigation library in standalone app. The app works completely fine in expo client...
View Article'installDebug' not found in root project 'android' React Native
I am trying to run my project on the android simulator. When I run react-native run-android I am getting the following:FAILURE: Build failed with an exception.* What went wrong: Task 'installDebug' not...
View ArticleTypeError: undefined is not an object (evaluating 'Navigator.NavigationBar')
I follow the book ReactNativeNotesForProfessionals.pdf and create a simple React Native application:'use strict';import React, {Component} from 'react';import ReactNative from 'react-native';const {...
View ArticleCustom Native React Native UI Component which implements text styles
I'm working on a custom native RN UI component in Android based on these docs: https://reactnative.dev/docs/native-components-androidThe component extends TextView in Android and in order to expose...
View ArticleBuild failed with an exception React-Native - android
I am new to React-Native development,I am always getting "Build failed with an exception" while i'm running the command react-native run-android in command prompt project root folder.Detail error...
View ArticleHow to debug Standalone expo App in android device
I am quite new to react/Expo, I have built an android bundle with expo build:androidnow the APK I got is in production mode hence I can not debug it in my chrome dev tool. The problem is I am getting...
View ArticleDeprecated Gradle features were used in this build, making it incompatible...
how to solve that issue ?it happens some times when i add new modulesTask :app:transformClassesWithMultidexlistForDebug FAILEDDeprecated Gradle features were used in this build, making it incompatible...
View ArticleSplash Screen quickly turns to white on React Native Android
I added a splash screen to my app. The splash screen loads but then turns white for about 5 seconds before the app loads. I want to splash screen to stay on pretty much until the app comes up.I tried...
View ArticleForce React Native Web View to Ignore cached version of webview
ContextCurrently working a HTML & JS heavy project that is a react native project. All HTML & JS are referenced locally (nothing over http). ProblemWhenever I make changes to HTML or JS I don't...
View ArticleAdd geolocation to Create React Native App
I have created my first React Native app using the latest Expo CLI using instructions from React Native docs:npm install -g expo-cli npm expo init AwesomeProject Later I wanted to add the geolocation...
View ArticleReact Native Android: Bouncing Scroll View
I know the regular scrollview on Android doesn't bounce, but I want this functionality. I am trying to use the package SpringScrollView, but when I replace my <ScrollView> components with...
View Article