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

Image may be NSFW.
Clik here to view.

Images getting cropped with FlatList

The images are getting croped how can i prevent that from happening? Notice that only appears half of the image. This is a Android device. Idont know if this happens in IOS too. But a fix for android...

View Article


Image may be NSFW.
Clik here to view.

react-native-touch-id : custom text on native error

My app have provided language, in react-native-touch-id doc only have few word in android dialog can be custom, I wonder how to also custom native error ? Below is an example

View Article


Hide android bottom buttons react native using expo build

I have a problem, that I want to hide bottom buttons on android system in my app. I use expo build for my app. Tried other solutions that I saw on stackoverflow, but it didn't worked. I installed...

View Article

Image may be NSFW.
Clik here to view.

react native touch id - can't get the error of unmatched finger print

I am using the library React-native-touch-id and I wan't a specific behavior when the error is 'touch Faield'. This is the code:TouchID.authenticate(---) .then(success => { // }) .catch(error =>...

View Article

Activity destroyed when foregrounding app via app icon/launcher

I am currently working on a ReactNative + Android application. Now, I have an issue where foregrounding my application, via the app icon/launcher, closes the previously displayed screen & destroys...

View Article


Why am I receiving a cannot read property `UIAppFonts of null` error when...

I am trying to implement custom fonts in a react native application. I am using react native web and can see the custom fonts working on web but not in native. I am working on an Android app but the...

View Article

React native: Using a panResponder inside of a scrollview broken on android

I know this issue has been raised many times but I have not found a working fix on any of the other threads (Most of which have very little to no replies). In my implementation I have a ScrollView...

View Article

React Native InApp Browser - Selecting a file (File Explorer) for uploading...

I am currently working on a project on Android using the Expo client for react native. When I use expo-web-browser or react-native-inappbrowser-reborn and call for example...

View Article


Clear Text on single tap

When I click on the cross icon first time, it lowers the keyboard and on the second tap, it clears the text in the search bar. I wanted to clear the text on the first tap I have tried other solutions...

View Article


error: crypto.getRandomValue() not supported

[![how to fix this problem?project location in index.jsimport {AppRegistry} from 'react-native';import App from './App';import {name as appName} from './app.json';import...

View Article

Image may be NSFW.
Clik here to view.

Why 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

How to convert timestamp value to specific time format using react native?

In my scenario, I need to convert timestamp value to specific time format in react native. I tired below code but can't able to achieve exact formate output. How to achieve it? var dateTime = new...

View Article

@firebase/firestore: Firestore (7.14.3) : Could not reach Cloud Firestore...

enter image description hereenter image description herem/AGOqD.pngSetting a timer for a long period of time, i.e. multiple minutes, is a performance and correctness issue on Android as it keeps the...

View Article


Windows Android Studio Gradle Build Error

I have a React Native project that I cloned in my Windows desktop and opened in Android Studio, but when the gradle builds, it generates an error. This occurs everytime I open the project folder...

View Article

React Native XHR Longpoll not working on Android (but on iOS)

I have a piece of hardware, which provides an API for monitoring state changes, eg. "Light x turned on". The API returns a JSON string every time a device state changes. To poll the API I use...

View Article


React-native using native module and passing to app, cannot format into json...

I have implemented Java library to my React-native app with Native Modules, After finally being able to grab data in the app, I cannot convert it into Json object, have no idea why. When I pass it to...

View Article

Image may be NSFW.
Clik here to view.

Could not connect to React Native development server on Android

When I run react-native run-android, it gives me the following error:Could not connect to development serverPackage server is running and I can access it directly from browseron my mobile device.My...

View Article


Image may be NSFW.
Clik here to view.

How do I change the string encoding?

The task is to Write an application to run under the Android OS thattranslates text in the same encoding (for example, win-1251) and writescontent in a different encoding (for example, utf-8) and the...

View Article

Image may be NSFW.
Clik here to view.

React Native: wake a locked phone and play a sound

I am building a running app that shows a timer. When the timer reaches 0 seconds a sound is played. I use React Native Sound for playback. I use an interval on componentDidMount for counting the...

View Article

Exoplayer infinite buffer state

I'm trying to use the exoplayer for my React Native app using the React Native video package.I have an app with both a HLS stream and a mp4 videos, these videos and are stored on my server (https).When...

View Article
Browsing all 29593 articles
Browse latest View live


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