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

ReactNative : permission always return 'never ask again'

am using following code base to request the permission but it always return 'never ask again' async requestPermission(request){ try{ const response= await...

View Article


Image may be NSFW.
Clik here to view.

react native metro server

I have an error with React Native apk it works fine in android studio with different emulator versions but when I copy the apk from (android\app\build\outputs\apk\debug) to my real device it doesn't work

View Article


Your project is in SDK version >= 33.0.0, but the expo package version seems...

I can't start my Expo app. I am getting this error:Your project is in SDK version >= 33.0.0, but the expo package version seems to be older. (0 , _config(...).fileExistsAsync) is not a function It...

View Article

Image may be NSFW.
Clik here to view.

React Navigation default background color

I'm using react-navigation and stack-navigator to manage my screens.Platforms I'm using:AndroidReact Native: 0.47.1React Navigation: 1.0.0-beta.11Emulator and DeviceI have a screen, which acts as a...

View Article

use custom application class in native module android library

I have created an android native module and trying to call some method of this module after bridging with react native module. RN World:NativeModle.ModuleName.someMethod() Android world:@ReactMethod...

View Article


Setting process.env variable from Android Studio flavors

I want to be able to access a variable in my metro.config.js.On iOS this can be achieved by adding a User Defined variable in the Build Settings tab. This is accessible with process.env.MY_VAR. The...

View Article

Google SignIn SDK is failing by throwing error, A non-recoverable sign in...

I have been trying to integrate Social login in my react native project in which I was able to do facebook login successfully but it is failing to signin to google. react-native-google-signin library...

View Article

react-native can't generate apk - lib depends on one or more Android...

I'm trying to test this app examploe:So I've followed these steps:git clone https://github.com/furkanom/react-native-obd2 cd react-native-obd2 npm install cd example npm install ./gradlew assembleDebug...

View Article


Build using expo and now apk update by themselfe

Hi i build a apk in expo and download in a few cellphones. A week past and i keep programing, eventually i build again to re-install the apk but some phones just has updated by themselves before i...

View Article


Testing android.emu.release in travis (Detox): -read-only error

I'm trying to set up travis CI for my application with Detox as the test suite. I'm close to achieving the final setup, but I'm currently stuck on the following error which occurs during the final step...

View Article

How to add custom action button in React Native(IOS) push notification

Currently, I am using this package: react-native-ios-notification-actionsBut this package is only for IOS. But I need to implement an action button in both android and IOS. So is there any other way in...

View Article

react-native How to open local file url using Linking?

I'm using the following code to download a file (can be a PDF or a DOC) and then opening it using Linking.const { dirs } = RNFetchBlob.fs; let config = { fileCache : true, appendExt : extension,...

View Article

Unable to get provider com.RNFetchBlob.Utils.FileProvider:...

I created a new expo project, after directly I ejected it to the expokit. After the ejection ended, I executed expo publish then expo start.Finally I opened the android folder on android studio and I...

View Article


React Navigation Error on npm install

I'm trying to create a new react native app with react navigation. I did the following:1.) create-react-native-app myAppName2.) cd myAppName/3.) npm install --save react-navigation4.) Expecting...

View Article

How to pass data from background android service to react-native

I am building an react-native app. I have a background android service that receives a push notification. I need to store the notification information(title, description...) on a react-native database...

View Article


Logcat not showing JS debug messages

I'm currently developing an app using React Native (JavaScript). My client is running logcat through the SDK command like using this command (found on the official wiki):adb logcat *:S ReactNative:V...

View Article

/gradlew': No such file or directory in circleci

android: docker: - image: circleci/android:api-28-node8-alpha working_directory: ~/repo/android environment: JAVA_OPTS: -Xmx1536m GRADLE_OPTS: '-Dorg.gradle.daemon=false...

View Article


Logcat not showing React Native debug messages

I'm currently developing an app using React Native (JavaScript). My client is running logcat through the SDK command like using this command (found on the official wiki):adb logcat *:S ReactNative:V...

View Article

react-native IllegalStateException: Too many recognizers

I am using the react-native-gesture-handler library and in Crashlythics I am receiving the following crash report only for android:Fatal Exception: java.lang.IllegalStateException: Too many recognizers...

View Article

How to capture microphone audio on React Native and stream it to IceCast...

I'm working on a React Native mobile radio application (testing on Android API 28 as target and 26 as check, both emulator and physical device), and the idea is to enable the radio channel host to talk...

View Article
Browsing all 29438 articles
Browse latest View live


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