Disable native library for some Android version in React Native
So, basically, I'm trying to use react-native-webrtc and it's required to have minSdk 24 to use this library. I'm not really experienced in Android, so question is can you make this library "optional"?...
View ArticleUnable to resolve module `./Linking/Linking` from...
Has anyone experience this error with expo, when running react-native run-android?error: bundling failed: Error: Unable to resolve module `./Linking/Linking` from `node_modules/expo/build/ExpoLazy.js`:...
View ArticleExchange data simultaneously between mobile devices via NFC
BackgroundI would like to achieve a peer-to-peer connection to transmit data between two mobile devices. The amount of data to be transmitted would be around 70-200 bytes, so it is quite small. This...
View ArticleProblems with expo and android emulator to connect with proxy
Problems with expo and android emulator to connect with proxyI have a problem with expo and android emulator. When I configured a proxy in android-studio/emulator expo doesn`t work, but when I set...
View ArticleAfter Expo Eject, run-android error: spawnSync gradlew.bat Enoent
I was using expo, but then needed to link a third party package so I ejected from expo with Expo Kit. now when i try react-native run-android, the metro bundler starts but then the following error...
View Articlereact-native-ble-plx not detecting all nearby devices
import {BleManager} from 'react-native-ble-plx';const DeviceManager = new BleManager();export const scan = function scan() { const subscription = DeviceManager.onStateChange((state) => { if (state...
View ArticleHow to solve: my React Native downloaded apk cannot open?
I'm trying to test my React Native apk app file. Here are the steps I made before generate the apk:react-native bundle --platform android --dev false --entry-file index.js --bundle-output...
View ArticleCan't Run React-Native Run-Anroid
I've checked on similar topics but couldn't find my problem and solution. Would you help me please , what should i do ? I was learning React-Native 1-2 months ago and back then there were no problem. I...
View ArticleAndroid NFC: How transceive method working with memory?
I have ntag213. I'm trying to understand how work blocks, sections of memory of my tag.I found project https://github.com/lepunk/react-native-nfc-demo/blob/master/RNNFCDemo/App.jsbut cannot understand...
View ArticleShow toast every time after user passed the lock screen using React Native
I'm totally new on React Native and I'm struggling to create an app that shows a temporary message(2-3 sec) every time I pass the lock screen(by PIN or Finger Print). How to approach it? Any suggestion...
View ArticleReact Native Android Fetch failing on connection to local API
I'm using the fetch API in my react-native Android app to make requests to a local API. I usually query said API from react web apps at http://localhost:8163. I'm testing my app on my physical device...
View Articlegradlew assembleRelease it gives the following error in react-native
I want to make apk file of my application code, but whenever I am running gradlew assembleRelease it gives the following error, I just want to create the build with anything, as I have to deliver my...
View ArticleExpo - APK bundle must contain the expected embedded asset
I'm new on react, and i tried to run my app but i got this following errorE/AndroidRuntime: FATAL EXCEPTION: main Process: com.bits.bee.bwc, PID: 12601 java.lang.AssertionError: APK bundle must contain...
View Articleerror "Could not get BatchedBridge, make sure your bundle is packaged...
Trying to create a react-native project on Android 4.4.2 I get this error screenand couldn't find any way to resolve it. I tried restarting packager, reconnecting device, even reinstalling react native...
View ArticleHow to solve: EEXIST: file already exists, mkdir...
I'm trying to test my React Native apk app file. Here are the steps I made before generate the apk:react-native bundle --platform android --dev false --entry-file index.js --bundle-output...
View Articlereact native blur not working over react native camera in Android
I'm using react-native-blur with Modal to create a blurred background. Everything seems to be working fine in Ios but the blur is not getting applied over when there is a camera preview in the...
View ArticleExpo - Icon doesn't show on Android
I'm using NativeBase icon on my react app. But when i tried to run it on Android, all of my icons won't show up and i got this following errorWARN Possible Unhandled Promise Rejection (id: 11): Error:...
View ArticleCompatible side by side NDK version was not found React Native
I Have created a blank react native app and added webrtc package and now when I install my react native on my phones ,after installation it gets closed automatically and I don't know why app gets...
View ArticleWhy my fetch request have problem Network Request Error in react native
i always get network request faith. Below is my code. It take me two days.const res = await fetch('https://mydomain:8099/login', { method: 'POST', headers: {'Accept': '*/*','Content-Type':...
View ArticleBuildfailed : Deprecated Gradle features were used in this build, making it...
I'm using react-native and even I'm able to run my app in my simulator succesfully. But when i build the app I'm getting this error. Deprecated Gradle features were used in this build, making it...
View Article