Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Browsing all 28463 articles
Browse latest View live

RNFetchBlob download not working on android 9

My code to download the file as belowRNFetchBlob .config({ path : path, background: true, cacheable:false, timeout: 1000 * 60 * 15 //15 minutes }) .fetch('GET', forFile.url, { //some headers .. })...

View Article


How to add drawer in react native?

Hello I have a simple app and i want to add a drawer to him I use react-navigation 4x and use react-navigation-drawer to implement Drawer in my app I used it before sperate drawer in a single package...

View Article


Can not build the example app of tflite-react-native

I tried to build the example app of tflite-react-native (v0.0.5) for my Android device (Android version 8.0.0), but it failed.I cloned tflite-react-native, and build the example app without any changes...

View Article

Image may be NSFW.
Clik here to view.

"malformed calls from JS field sizes are different" error on Android -...

I'm using React-Native.I'm living trouble with Picker component on Android. I use Picker from Native-Base Library. Here is my Picker code with it's parent view.<View style={{height: 40, marginTop:...

View Article

Error "Cannot get property 'dependencies' on null object" in React Native...

I created a new React-Native project using react-native init AppName and when I tried to run in Android it throws Cannot get property 'dependencies' on null object in line...

View Article


App App development outside China but target China market

I am using react native to build app target for all countries, especially China customer.What are the services that work in China, especially service like crash reporting, analytic and push...

View Article

How can i regenerate ios and android folder?

How can I regenerate ios and android folder in React Native project?react-native-cli: 2.0.1 react-native: 0.61.2❯ react-native eject error Unrecognized command "eject". info Run "react-native --help"...

View Article

React text color not working on some android device

I am relatively new in react and I write very simple code like this to change text color.<Text style={{color: '#EE7700'}}>5 JOBS</Text> I can see text color is changed but on Galaxy Note 9,...

View Article


RNFetchBlob android, first view and then download the image

Is there a way to open an image file (mainly jpeg) with:RNFetchBlob.android.actionViewIntent(res.path(), item.mime_type); and then allow to save the image, I'm trying on an emulator Nexus 4 and API 25...

View Article


gradlew bundleRelease failed due to com.android.tools.lint

I have a problem with releasing my app. When I use gradlew bundleRelease I get this errorCould not resolve all files for configuration ':react-native-fs:lintClassPath'. > Could not find...

View Article

Image may be NSFW.
Clik here to view.

[react-native]could not connect to development server on android

When I run "react-native run-android",it gives me error:"could not connect to development server...".Package server is running and i can access it directly from browser in mobile device.My android...

View Article

React Native Maps - App crash on Android with custom image Marker

I have the following code to use a custom image on the Markers :<Marker key={marker.id} coordinate={{latitude: parseFloat(marker.lat), longitude: parseFloat(marker.lng)}} title={marker.name}...

View Article

Unable to unlink library with react-native unlink

1. I unlinked a library because I am using React Native >v0.59 that links libraries automatically.(base) Somedude@Programmers-Machine-4:~/CrossPlatformProjects/ReactNative/someapp$ react-native...

View Article


How to handle hardware back button android in React Native?

I get a problem to handle hardware back button android in React Native, I want to back in specific page/component when I press back button in hardware/device, but I always get error 'undefined is not...

View Article

React native 0.61.3 android - cannot change app id

I'm migrating a rn project from 0.59 to 0.61.3 (latest) with a fresh npx react-native init.I need to change the defaut app id it gave to the android app. To do so, I did:change the package="com.myapp"...

View Article


react-native-ble-manager return device name null

I'm using react-native-ble-manager for scan and show all devices. It's working fine, but it's not showing the name of devices (just the MAC id). Here's my code:import React, { Component } from 'react';...

View Article

can't change background color of a button that's imported from...

i am new to react native following a tutorial. I noticed there is no consistency of buttons between android and iOS so i thought i'd try react-native-paper library. however, after importing the button...

View Article


Will react native work without Google Services on Huawei phone?

Soon new Huawei phones will stop supporting Google Play and Google Mobile Services. Huawei is preparing its own ecostystem called HMS...

View Article

REACT_NATIVE - Handle DeepLink from automatic side-service redirection web URL's

I have this use case :-> a Website OR random native application on my phone, doing a process on it, and at the end of the flow, this application is redirecting to :...

View Article

ERROR : Invariant Violation Text Strings must be rendered within a component

I am the beginner of react native. I have a problem but i don't understand what i am doing wrong.This is my code: import React, {Component} from 'react'; import { SafeAreaView, StyleSheet, ScrollView,...

View Article
Browsing all 28463 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>