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

Unable to create round shape button in react native

I want to create round shape button for my app which is build upon react native. I had tried the code below but both of them didn't work out for me.Code snippet 1: <Button title="+"...

View Article


Execution failed for task ':app:transformDexArchiveWithDexMergerForRelease'?

I'm trying to release an APK for react native app v0.61.5,But I got this error Execution failed for task':app:transformDexArchiveWithDexMergerForRelease'I'm following all answers related but not works...

View Article


Image may be NSFW.
Clik here to view.

react native application on emulator stuck on white screen

on android only and only in the emulator, if I run my react native app, the app does not launch and get stuck on a white screen. The bundler in the terminal does not receive any connections requests.It...

View Article

Image may be NSFW.
Clik here to view.

How to mitigate local network problem with Expo

Expo is crashing when using an Android emulator on my Ubuntu machine. So what I want to do is upload the app to my real Android device using Expo. But when I do this using the local wifi network, I...

View Article

Using BLE/USB camera/barcode reader in React Native App

I am trying to make a react native app, which connects to an external Barcode Reader/Camera for scanning barcodes. I know that it is easy to implement using react-native-camera but I need to connect it...

View Article


Create custom SDK for React Native

What i want to achieve is something like creating my own SDK like what react-native-fbsdk or rn-onesignal-sdk provides , so that those functionalities can be implemented in the react native...

View Article

I am unable to run android project after ejecting it ,my build stopped...

I have build a project using expo ,it is working fine using expo when i eject it and run using android studio.Whenever i entered npm run android or react-native run-android commands it shows me error...

View Article

How to launch function when screen in reached in TabNavigator ? [REACT...

The problem is that the functions constructor() and componentDidMount() are called when the tab navigator is loaded. And I need to call function each time the user reachs the screen named myScreeen for...

View Article


Image may be NSFW.
Clik here to view.

Error while updating property color on shadow node of type: AndroidTextInput

I don't know when and where this error appeared, so I cant attach any code. This looks like bug, on ios work properly. Is error tells that I should set Integer as property color? What?Do someone know...

View Article


Image may be NSFW.
Clik here to view.

Not able to setup React native project on windows

Hi I have followed the official documentation for setting up the React native project on windows.I have added the ANDROID_HOME variable as system variable at location...

View Article

Why is `unstable_Profiler` not profiling on production mode?

I have an issue with unstable_Profiler on my React-Native project that is ignoring onRender callback, but only in production mode. No errors, everything renders fine. I went by this article:...

View Article

Get value returned form fetch assigned to a variable

I want to get the returned value "responseData" assigned to the data variablefetch('http://localhost:8080/users/update, { method: 'PUT', headers: {'Accept': 'application/json', 'Content-Type':...

View Article

React-Native-Sound path for ios file?

I'm curently developping an app on React-Native and I need to play sound.The fact is that I am on Ubuntu and developing with IntelIJ Idea.I'm using react-native-sound library to play sounds.Thanks to...

View Article


Import aar file from Android Studio into React Native and use aar file

i am new to react native. i dont have knowledge of java/android studio.i have some work to do with VPN app. i am making a VPN App. and i found no library for react native to call VPN features and...

View Article

How to reuse android device back button handler component from multiple...

In my scenario, I am trying to use android back handler class in single file. How to access this from multiple class files instead of duplicating.my code belowexport default class hardware extends...

View Article


Image may be NSFW.
Clik here to view.

How to validate TextInput values in react native?

for example, While entering an email in the TextInput, it should validate and display the error message. where the entered email is valid or not

View Article

Cross platform Mobile SDK with react native for IOS and Android

I am beginner to react native. Please forgive if it is a very basic question. I have a Javascript client library which I want to write for both IOS and Android also. Instead of writing separately....

View Article


React Native Runtime Error: No native client found. Is Bugsnag React Native...

I am trying to integrate bugsnag to my react native application. The app builds successfully but when the app loads on a simulator or emulator it throws an exception Bugsnag: No native client found. Is...

View Article

How do I launch a splash screen for every launch in React Navigation V5?

I want to launch SplashScreen, for every App launch where I'll be performing a large number of tasks. Once this is done, I'll navigate to AuthScreen or MainScreen.Since there is no SwitchNavigator in...

View Article

borderRadius and padding styling for nested text

I want to apply a different borderRadius and padding styling to nested texts, but as far as I could understand this is not supported by react native yet. Is there a workaround for this ? What I tried...

View Article
Browsing all 29424 articles
Browse latest View live


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