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

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


Button click to show another page without navigation using react native

In my scenario, I am having separate class for example page1, page2 and page3. Here, I need to call Page1 button click to Page 2 without navigation the transition like sudden appear popup screen. How...

View Article


How can I navigate the activity to another activity in react native in a...

I am trying to navigate my first page to the second page by tapping a button.Once we are at the second page, we will never go back by pressing back button.Just tap, switch, and never go back.Is there...

View Article

react-native-video example throws "TypeError:undefined" error

I'm very new with react native. I'm trying to make an app that has a youtube video embeded.I'm trying the example of this repo but it crashes on my project.here is my full code. Crashes are comented...

View Article

Stop loading Webview in react native

I have react native project on Android platform.I have a Webview loaded from url. When user click any url, i want navigate to screen in my app and webview will stop loading. So in my...

View Article


Running a Foreground Service in React Native

We're working on a React Native app that scans user WiFi routers repeatedly.TL;DR:We can't operate a Foreground Service on React Native. We'd like to see an example of a project who did it.Due to...

View Article

How to show overlay page using react native for iOS and android?

In my code, I am having two screens with two different class files. Here, I need to do screen one button click to show screen two. Screen two need to show like a overlay screen and if screen two button...

View Article

How to link packages in react-native

I am getting these errors while running my app."""bundling failed: Error: Unable to resolve module react-native-screens from...

View Article


How to restrict android app for tablet/handset using expo?

I have separate APKs for the same app. For tablets and for handsets.Also I'm using expo in my project.Due to android documentation I should declare <supports-screens> in <manifest> like...

View Article


React Native: Retrieve data from content uri like content://mms

I create an android app (only) with React Native and i need to get the complete list of MMS.By searching in some libraries, i found that we can in Java (or Kotlin) get list of SMS by calling this uri:...

View Article

CI/CD BitRise React Native Android Build Failing

Facing issue while build on BitRise.ioI have a React Native Project which builds successfully on local.Using BitRise.io for CI CD.Added App and provided all the essential information and keystore file...

View Article

ChatService not working on app-release.apk

I have a chatService class in my app which works well when in debug mode but doesn't work at all when i release the app-release apk.My chat component file looks like thisimport React from...

View Article

Image may be NSFW.
Clik here to view.

Failed to find Build Tools revision 23.0.1

I am trying to build my first app with react-native.I am following these 2...

View Article


Error at launching React-Native in WebStorm

For the first time with WebStorm I created a new React-Native project.I had never use Android Studio (which is installed, v3.6.2).After that, I launched the App but got this:"C:\Program...

View Article

ScrollView not scrolling properly?

There is a ScrollView in my functional component. I am using an android phone connected to my laptop so that I can see the changes in the phone. Problem:When I slide on the right side of the phone...

View Article


Smooth Orientation Compass using react-native-sensors's Magnetometer

I'm developing a compass app using react-native-sensors magnetometer. I'm getting the correct values and the compass is working perfectly, the main problem is the fast update of the compass, the...

View Article

How to activate the dark mode in react native app when android theme set to...

I am developing a react native app which supports dark theme. I used react navigation and created custom theme using React context. Now I can toggle between dark mode and light mode using a button. But...

View Article


Why is firebaseApp already initialized in React Native on Android?

When I try to run this code on android, I get the error FirebaseApp name [DEFAULT] already exists! In this thread, it says that firebaseApp is initialized on app startup, but then why can you call...

View Article

react native save file to internal memory

I have to save a text file in the main internal memory.I'm using react-native-fs, none of the Constants, it's allowing me to do this.How can I do?Can you recommend other libraries that allow you to do...

View Article

React Native Navigation Error: The action navigate with payload {"name":...

I am using react-navigation with my React Native application.I keep on getting an error that is supposedly a development-only warning and on't be shown in production.How do I fix the error...

View Article
Browsing all 29588 articles
Browse latest View live