react native app crash by adding this line: apply plugin:...
In my react native app i had added firebase , so my root gradle and app gradle is:root build.gradle:buildscript { ext { ... } repositories { google() maven { url 'https://maven.fabric.io/public' }...
View ArticleType androidx.appcompat.resources.R$dimen is defined multiple times
We have a React Native app where after upgrading to Android Studio 3.6.1 and Gradle plugin 3.6.1 we are seeing this compilation error:Type androidx.appcompat.resources.R$dimen is defined multiple...
View ArticleDesign approach for React Native app and Video editor in iOS / Android native...
We have a existing React Native app. We want to add Video and Image Filters/Editor features in the app. After reading and discussing, we think Video / Image Editor should be developed in iOS / Android...
View ArticleEven though react-native run-ios is success . Does not move from the splash...
Even though react-native run-ios is success . Does not move from the splash screensuccess Successfully launched the app on the simulator In terminal. splash screenI try to clean chash .watchman...
View ArticleHow to make StatusBar transparent?
Does anyone know a way to make Android Status Bar transparent with React Native?NOT TRANSLUCENT, Transparent.I am using react-navigation too.
View ArticleUsing Firestore in React native application
I'm trying to hook up an android application written in react-native with firebase firestore. but whenever i use a firestore function like, this.refs = firebase.firestore().collection('Users');...
View ArticleReact Native-Error after declining enable location popup
So i am trying to make a weather app and when i decline(press NO) in the popup window for enabling location, it gives me the following error: [Unhandled promise rejection: Error: Location request...
View Articlereact native secureTextEntry not working on android
I am trying to use react-native secureTextEntry to hide my password and confirm password fields during registration.I'm using custom InputBox component for textInput.below is my code,<InputBox...
View Articlez-order problem between views in react-native
Note: I am searching for a solution that works for android.I have the following hierarchy:Main App: <View> <View> <Button title="Click Me!" /> </View> <MyCustomElement />...
View ArticleReact Native - ERROR point to the same directory in the file system. Each...
I try Sync Gradle in Android studio but i received error ERROR: The modules ['@react-native-community-geolocation-android-@react-native-community_geolocation',...
View ArticleUsing expo-speech in android doesn't work and throw exception
I am trying to use expo-speech in my react-native app and I am getting the following error on my Android:[Unhandled promise rejection: Error: Encountered an exception while calling native method:...
View ArticleChange package name for Android in React Native
I used react-native init MyApp to initialise a new React Native app. This created among others an Android project with the package com.myapp.What's the best way to change this package name, for example...
View ArticleHow to use offline bundle on android for react native project?
How to use offline bundle on android? I didn`t see the document about use offline bundle on android. I tried to uncomment the code in build.gradle. project.ext.react = [ // the name of the generated...
View ArticleReact Native (Android) not sensing my Touchable component absolute positioned...
I have created a custom 'Autocomplete' component that has a TextInput and an absolute positioned dropdown that triggers when you type certain characters in it. In the dropdown, there are list items...
View ArticleCan I pass a function callback to headless js in react native?
I find I can pass some String or other primitive types by using bundle.putString("foo", "bar"); or putBoolean etc. like below:Intent service = new Intent(getApplicationContext(), MyTaskService.class);...
View ArticleReact-native android running out of BluetoothGatt objects using most common...
I have posted on the github issues page for react-native-ble-manager #596 my problem. Has anyone else run into this problem? Basically I've collected enough data to know that BluetoothGatt objects are...
View ArticleImage compression in react-native
I am trying to compress images with mozjpeg when I implemented it in node.js according to the docs it worked fine.const input = fs.readFileSync("in.ppm"); const out = mozjpeg.encode(input, { quality:...
View ArticleReact Native - Navigate to screen - Invalid hook call
App.js:import React, { Component } from 'react'; import {View,Text} from 'react-native'; import { createDrawerNavigator } from 'react-navigation-drawer'; import {createAppContainer} from...
View ArticleHow can I get list of apps shown in Launcher in React Native for Android
I am using react-native-android-installed-apps for my react native application.I want to get list of app names and their package names that are shown in launcher only.The methods used in this package...
View ArticleReact Native CouchDB/pouchDB app is not working in release apk
i am trying to make simple dictionary project, i use CouchDB for remote server and use pouchDB for local.and i use remote text file for pre loading data in local db when app start.This is my code...
View Article