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

React native TypeError: Network request failed with fetch()

I'm using React native for developing an android application. With this fetch request I'm getting the error TypeError: network request failed:fetch('https://pixabay.com/api/?key=MY_KEY&q='+...

View Article


How to call Await functions inside Realm.open function?

i was trying to integrate Realm db to my projectModel File : export const CHAT_LIST_SCHEMA = { name: 'ImList', properties: { name: 'string', rid: 'string', lastMessage: 'string', time: 'string',...

View Article


search clear Icon lowers keyboard on first tab

When i click on the cross icon first time, it lowers the keyboard and on the second tab it clears the text in the search bar. I have tried other solutions as well but nothing worked. How can i clear...

View Article

React-native app crashes on real android device

I am using react-native and currently started using redux and created one app but when I am running that app on the emulator it is working fine. Then I connected my mobile with android 6 through USB on...

View Article

Cross Icon clears the text on double tap

When i click on the cross icon first time, it lowers the keyboard and on the second tap it clears the text in the search bar. I have tried other solutions as well but nothing worked. How can i clear...

View Article


How to convert timestamp value to specific time format using react native?

In my scenario, I need to convert timestamp value to specific time format in react native. I tired below code but can't able to achieve exact formate output. How to achieve it? var dateTime = new...

View Article

Getting "java.lang.UnsatisfiedLinkError: couldn't find DSO to load:...

I'm in the process of migrating a React Native project from react-native version 0.58.5 to 0.60.4. For the Android part I've done all the changes mentioned hereI let Hermes disabled in my app...

View Article

Does React Native compile JavaScript into Java for Android?

When I develop hybrid apps with React Native. Does the JavaScript code I write transform into Java-Code or Java-Bytecode for the Dalvik/ART Runtime when I create an Android-App from my React Native...

View Article


Modal closes in real android devices when Keyboard open in modal

Modal closes automatically without any error when I click on the last button of the list or the button aligned with the bottom of the screen and focus on the TextInput. This happens only on android...

View Article


Firebase notification does not open the app on Android

On my react-native application which uses firebase cloud messaging, I wanted to receive a push notification on all app states (foreground, background, closed) so I followed this answer and the...

View Article

The text of button at react native is always uppercase

I created a component at react-native, but the text of the button is always at uppercase, someone knows why it doesn't take the text that pass, because I want to show 'Login', but it shows...

View Article

access "Application" in custom module

I want to create custom module in android with react native.I have files /java/com/my_app/MainApplication.java/java/com/my_app/MyCustomModule.javaIn MyCustomModule.javaimport SomeExternalLibrary;public...

View Article

Android - React-native: Output: error: resource...

Can anyone help fix this? I have been working on this react-native project, all of a sudden I receive this error when I try to runAndroid resource linking failed Output: error: resource...

View Article


Error "Execution failed for task ':app:bundleReleaseExpoUpdatesAssets'." when...

I ejected my project from expo workflow managed project because its size is too big. But when i try to build for android using gradlew assembleRelease command i get the arrow saying...

View Article

React native geolocation getCurrentPosition no reponse (android)

I have read and tested a lot of issues but I still can not get geolocation on Android.I use navigator.geolocation.getCurrentPosition, on iOS everything works fine, but on Android I have no answer to...

View Article


How do I write to device using react-native-ble-plx?

I have a react native project that is suppose to print a ticket using a little Bluetooth printer.In order to access bluetooth functionality I'm using react-native-ble-plx library.My question is, once I...

View Article

React Native API calls failing with 401 while testing w/ Android Emulator

I'm building a React Native app and currently testing it via Android Emulator. My API calls to my backend API are failing with 401.The API is on the Internet and it's an HTTPS URL. The strange thing is...

View Article


Firebase Cloud Messaging: Topic messages are not always received

I am having trouble receiving FCM topic messages on our React Native App (using react-native-firebase). We have a Node.js API to manage notifications and we are using the Firebase Admin SDK. Currently...

View Article

How to sign Expo app APK to update existing App on Google Play Store?

I have an EXPO app and I already created and published it on Google Play Store. The Google App Signing is activated for this project. Now I want to update this APK in this project. I used the command...

View Article

Admob banner ad displaying white, expo on Android

I can't seem to get Admob banners to display anything except a white box. I can confirm that the adUnitID is correct and the ad unit is enabled. My app.json android part:"android": {"config":...

View Article
Browsing all 29775 articles
Browse latest View live


Latest Images