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

Image may be NSFW.
Clik here to view.

Layout and drawable are not centered the same way

I have two layouts for my splash screen, which basically consist of an icon centered in a screen.One of them is drawable/launch_screen.xml. This one is used for the AppTheme.<?xml version="1.0"...

View Article


How to build my react native app with TeamCity?

I start using Team City and my app builds with react nativeversion 0.60.5...I was wondering what will be the best and the easier way to build my app for iOS and android. For iOS I was thinking using...

View Article


Image may be NSFW.
Clik here to view.

Update exp-Cli in react-native

I want to update my expo CLI. When I run this npm install -g expo-cli or npm i -g expo-cli@latest command so I got following errors in my console.

View Article

Android AppCompat theme issues when upgrading RN version

I am attempting to upgrade my react-native version to 0.59.10. My app crashes upon attempt to debug and I get this error when running adb logcat.E/AndroidRuntime( 9402): Process: com.attendance, PID:...

View Article

React Native View Shot fails when Camera is authorized

I am having an issue with the captureScreen() function of React-Native-View-Shot. captureScreen({ format: "jpg", quality: 0.8 }).then( uri => console.log(uri), error => console.error("Oops,...

View Article


Disable Screen Capture/ScreenShot in React Native App

I have came across few solutions specific for ios and Android to prevent screen-capturing and taking screenshots. But how do i disable screen-capturing in react native?

View Article

How to find height of status bar in Android through React Native?

How can I find the height of the status bar on Android through React Native?If I check the React.Dimensions height the value seems to include the status bar height too but I'm trying to find the height...

View Article

programmatically retrieve Header component height - React Native

Using NativeBase, I added a Header component. Now, I want to programmatically retrieve the height of the header. How can I do this. The code for adding the Header is given below:I tried using...

View Article


react-native deep linking how to get the latest url

I know that we can get the url that opened that app using Linking.getInitialUrl() and also use Linking.addEventListener('url', handler) to get it when the app is in the background state. Unfortunately,...

View Article


React Navigation not working with React Native Video

I am working on a react native project where my sign-in page should navigate to the home page. I have used react navigation and react stack navigator on app.js and navigated my sign-in button onClick...

View Article

Best way to fetch pedometer data React Native

I'd like to know what's the best way to fetch pedometer data from the phone (especially Android). Firstly I thought I could run a task in the background and subscribe to the step sensor via...

View Article

seekTo function restarts the track on android instead of seeking to required...

i am making an audio player in react native in which i have to implement 15 sec forward and 15 sec backward buttons , in iOS it's working fine and both the buttons are working correctly, in android...

View Article

Arguments.createMap() - throws ExceptionInInitializerError when test is...

I want to create test-coverage for my JS-events layer, that uses com.facebook.react.bridge.ArgumentsThere is my code (when exception is thrown), on Kotlin:fun createJSEvent() = Arguments.createMap() {...

View Article


Update the location of an Android device via detox

Is it possible to set the location of a device via the detox configuration when running UI tests on our app? We have managed to do this for iOS for via this command - await device.setLocation(51.38488,...

View Article

How to display action buttons in Android notification when app is closed?

I have an android app. With notifications we have to display some action buttons. When the app is open we have the liberty to construct the notification and display the action buttons. But when app is...

View Article


React Native Debbuger: Async storage

I'm trying my app on Android Device and when I start the app the dubbuger give me 1 Error and 1 Warning.The Error is: Async Storage has been extracted from react-native core and will be removed in a...

View Article

Unusual traffic detected in Google Analytics for Android App immediately...

I am new to Google Analytics.I added Google Analytics to my hybrid app built with react native. I used "@react-native-firebase" to implement GA into my app.When I added my app to internal testing...

View Article


React Native bluetooth SPP

I try to use SPP on react native, but I don't know the library I have to use. I try with react-native-bluetooth-serial and serial-next, and react-native-ble-manage, react-native-ble-plx, but I can't...

View Article

Can't resolve symbol android.support.v4.util.Pools in...

I am working on react-native project.After I update my modules by running 'npm install',I cannot find class 'Pools' which located in 'android.support.v4.util' in 'react-native-gesture-handler'.Why Is...

View Article

Image may be NSFW.
Clik here to view.

Integrate an react native app with the contacts

I have an Voip dialer app, and i need to make he appears on the contact screen, like as follow:It's there a way to do this? In react native or maybe java.

View Article
Browsing all 29594 articles
Browse latest View live


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