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

Problem with Handling different screen sizes in Android-React native

I'm a bit confused with handling different size of screens for app.in android there is a unit named dp that seems to handle screen size and resolution variation. i expect when i use this unit instead...

View Article


Android App crashes on OneSignal push notification

I developed a React Native app that crashes every time a push notification from OneSignal is received while the app is active.The error is java.lang.NoSuchMethodError: No static method zzc.If I receive...

View Article


React Native: Packae com.reactnativenavigation.react doesn't exist

I am new to react native and trying to install react navigation library using the instruction give here https://wix.github.io/react-native-navigation/#/docs/Installing?id=android. after completing the...

View Article

Image may be NSFW.
Clik here to view.

How to build debug apk in react native

I want to build unsigned apk or debug apk. My application is successfully running on localhost. I have tried different methods. But it shows the error. I have got the answer from Here . when applying...

View Article

Change 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 Article


Error prebuild react-native, build.gradle

When you first start the application, this error appears. I don't understand what it can be connected with. FAILURE: Build failed with an exception. * Where: Build file...

View Article

Layout Animation not working on Android (create() method)

I'm using LayoutAnimation for animating my <View>. I toggle it with:LayoutAnimation.configureNext(LayoutAnimation.Presets.spring); this.showView = !this.showView; but the animation is not working...

View Article

Image may be NSFW.
Clik here to view.

How can I import java third party library via gradle to my React Native Project

What I'm trying to do is import a third party java library via gradle to my React-Native (0.60) fresh project. so then I can access the dependency by creating module;to be specific this package...

View Article


Can we get face-id in react native for Android devices?

I was implementing biometrics in my app for authentication. I am using react-native biometrics for it. Every things working good just one stucked. Face-id is not working in Android. I did a lot of...

View Article


Expo React native app doesn´t work standalone when run as stand alone apk

My expo app works fine with "expo start" in a real android device, but when the apk generated with "expo build:android -t apk" is installed in the android real device, the app crashes and output this...

View Article

Cannot connect to Apollo GraphQL server on Android Release [react native]

httpURI = 'http://17.25.16.68:4000/graphql' //example const httpLink = createHttpLink({ uri: httpURI }); const client = new ApolloClient({ link:httpLink, cache: new InMemoryCache() }); The connection...

View Article

RNFetchBlob can not download apk, But in the Browser the url can dowload file

I develop a react-native app, for android, I use the RNFetchBlob to download the APK. and in android, RNFetchBlob uses OkHttp library to download the file. But the APK can not download. when I put the...

View Article

How to disconnect from a WiFi and connect to a wifi whose SSID and password...

I am trying to disconnect from a WiFi and connect to a different wifi which is in access mode and I have to connect to it in order to configure the properties. Is there anyway I can do this?I found a...

View Article


react-native android app crashes with in release apk

I have written one hybrid app which is using react-native-svg to render svg images in react-native views. Everything works perfectly. Today, When I created release apk for my app and deployed it to an...

View Article

react native android oauth2

I am developing a react-native application, in this application im trying to authenticating using oauth2. Now im trying to use a webview to retrieve my redirect_uri credentials, but im unsure how to...

View Article


Cache image on react native

Is there a good library or maybe some default react native components that cache the image from a url? I've tried react-native-cache-image but there are a lot of issues with react-native-fs and...

View Article

toLocaleString() is not working in Android for React Native

I am trying to do some date format in my application.Suppose I am getting date stamp like "1573457092953.63" And I am trying to do like below format."11/11/2019, 1:17:00 PM"So, I have used...

View Article


Image may be NSFW.
Clik here to view.

React native Android App wont't build and displays the following error

Screenshot Real DeviceOne Plus 6Oxygen OSMy app/build.gradleapply plugin: "com.android.application" import com.android.build.OutputFile project.ext.react = [ entryFile: "index.js", bundleInRelease:...

View Article

React Native release apk doesn't match app when running react-native run-android

I'm currently building my first React Native app. I set up a release in Play Console for Internal Testing and was able to push my first signed apk. Since then, we've made bug fixes that are now merged...

View Article

How to resolve duplicate class exception caused by...

While setting up the Text Recognizer for MLKit on Android for a react-native project (following this tutorial: https://firebase.google.com/docs/ml-kit/android/recognize-text?authuser=0) I face an...

View Article
Browsing all 28468 articles
Browse latest View live


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