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

React native localizations: Global variable

I am new to React, and I come from the world of iOS/Android where localized strings are all defined in dedicated files. I have looked into react-native-localization and it seems like we need to define...

View Article


What is the best approach to passing data from a notification to the...

I want to implement opening a specific screen when interacting with a Push Notification sent from Firebase. My understanding is that I needed to use was getInitialNotification() function that was...

View Article


The Android React-Native code is not automatically updating (react-native...

I was able to update the code using this command.react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle However when I...

View Article

Bluetooth tests with React-Native

Im trying to use bluetooth (to connect a vibration sensor to the app) on a react-native application. I tryed using react-native-ble-plx but i have a problem : when i emulate an Android Devise with AVD...

View Article

Error getting documents [TypeError: undefined is not a function (near...

I'm recently practicing React Native and developed a login form attached to Firebase. I'm trying to get the username from the database and print the name of the logged-in user on the screen.This is my...

View Article


React Native Bluetooth LE Advertising

I'm building an application using React Native that is running on both iOS and Android. I need to be able to advertise but I don't see any libraries that have that functionality for cross-platform....

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

Unable to get provider com.reactnativecommunity.webview.RNCWebViewFileProvider

I am using react-native version 0.59.8 and react-native-webview version 5.12.1 .I have minsdk set to 16 .So my question is that when trying to build app on device api 16 it crashes with this error...

View Article


Export Datas from react-native app to csv

I've been trying to export datas from react-native app to a csv file for a few days but unsuccessfully.I need to create a cross-plateform app that cat get some data from user even without any network....

View Article


Getting hardware issue Related to android Voice Button

So this is a new type of issue I am currently facing, Recently I ran an APK of React Native Application I recently built on my system. After running that APK successfully. I started facing some issues...

View Article

How Do I Bring A React Native Android App To The Foreground When It Is In The...

Is there any way to bring a React Native app to the foreground when it is in the background or has been killed?I have tried using react-native-invoke-app but it is no longer being maintained and only...

View Article

Uploaded video from Android emulator not showing up on real iPhone device

I am using react-native-image-picker to upload a video from the Android emulator. It works, the video uploads properly, it then shows in my app from the uploaded URI, I can even go to the address and...

View Article

What is the gradlew task assembleAndroidTest and what are the Test...

I've been coding in React-Native for a while and when I need to I write some native Android code as well. However, I had not seen this gradle task until I started using a library which used this...

View Article


The library com.google.firebase:firebase-iid is being requested by various...

I started to get this error today, yesterday everything worked fine, there was no changes in gradle or firebase versionThe library com.google.firebase:firebase-iid is being requested by various other...

View Article

react native build error: package android.support.annotation does not exist

I had to completely rewrite the question.I have a react native android app. When I built the apk file with ./gradlew assembleRelease -x bundleReleaseJsAndAssets, it went fine, but after that it stopped...

View Article


OneSignal - Popup Notifications not showing in Android React Native

I am unable to view Popup Notification on android app created via react-native using OneSignal. I am able to view it in System tray. The eventListener onReceived function of OneSignal is also called...

View Article

React-Native after AndroidX Task...

After AndroidX update in modules for RN(in current example @react-native-async-storage/viewpager) compilation fails. Cannot find symbols and methods.I've added, but didn't help:android.useAndroidX =...

View Article


Expo React-Native isn't changing Android Adaptive Icon

With Androids adaptive Icon, there is a white circle with the colored Icon foreground in the middle of it. The expo instructions to change the color are to set the android.adaptiveIcon.foregroundImage...

View Article

Image may be NSFW.
Clik here to view.

Firebase Cloud Messaging: How to set the notification icon on android?

I am having trouble setting the notification icon on android studio. I set up the drawable folder like so:And I've also set the default icon in my AndroidManifest.xml file:<meta-data...

View Article

unable to load app in my emulator after package and publish

a few days ago, I packaged and published my RN app to Google Play. Today I tried to load the app into my emulator as I normally do, but the following error is being returned in my console when I run...

View Article
Browsing all 28463 articles
Browse latest View live


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