React Native: Get Lifecycle or LifecycleOwner in native module
I'm developing a native module for React Native which wraps the CameraX API. The CameraX API is a lifecycle-aware API, so it requires me to pass an androidx Lifecycle (or androidx LifecycleOwner) into...
View ArticleReactNative NativeModules using Interface callback not resolving promise
Im trying to use a native Android library that implements Interface callbacks. I have implemented the bridge, and by running this code: for (const i in payloads) { console.log("i", i) const payload =...
View ArticleApp actions doesn't work with google assistant for Internal testing version
I developed an application with react-native and I add app actions to the application.I follow instructions and test the app by App Action Test Tools (AATT) and it works pretty well (the invocation...
View Articlecant launch emulator on Android Studio - Unable to locate adb err
Can't run any android app because it is unable to locate adb. When I click on "launch this AVD in the emulator", I get an error message "Unable to locate adb". I did look in the...
View ArticleReact native push notification for local notification without firebase not...
React Native project with push notifications, I use this: https://github.com/zo0r/react-native-push-notificationI follow this tutorial: https://apiko.com/blog/react-native-push-notifications/I only...
View ArticleAndroid: Unable to use writeCharacteristicWithResponseForService function in...
I am using I am using this library to connect a React Native app (react-native-ble-plx on Android) to a BLE device (raspberry pi). On calling writeCharacteristicWithResponseForService function I get...
View ArticleWhere inside a React Native app should I store this SDK bundle folder?
I am attempting to integrate a third-party SDK to my React Native application. Their documentation says that after storing the SDK bundle folder somewhere in my local system, I need to go inside of...
View ArticleWill Expo notifications work after project is built?
I am building a React Native app with Expo, and I am using Expo Notifications.If I go to build this app on iOS and Android, will Expo Notifications still work on the built app? Or is this something...
View ArticleAndroid build doesn't work (Duplicate class...
It worked fine until a week ago, but this week the build didn't work and I got the following error.I tried the following, but I haven't solved it yet.Any small thing is fine, so if anyone knows any...
View ArticleRecommendations for developing webview content on Android?
I've got a webview component that loads some html and javascript. The html + javascript is fairly large, and is compiled using webpack into a single page (html, javascript and css is all in one...
View ArticleHow to add multiple url schemes in Expo App without ejecting?
I am going through this link to add deeplink to my Expo App but could not find any document to add multiple schemes. Is it even possible to add multiple schemes in Expo App without ejecting it?
View ArticleDeprecated Gradle features, making it incompatible with Gradle 7.0
I am getting the error that Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. But I'm using gradle 6.5.1.Can anyone help me out.This is the image
View ArticleError running adb: Error running app. Error: Activity not started, unable to...
Hi I am trying to run 'yarn android' on my react-native project. And am running into the following error:yarn android v0.27.5$ react-native-scripts android10:37:45 AM: Starting packager...10:39:34 AM:...
View ArticleOpen Android System Settings in React Native
I tried this answer but it didnt work with Android How can I open Settings with Linking.openURL('setting-url-here')Thanks
View ArticleCheck for Intent share on any screen in React Native with React Navigation
When ever a user shares some text from any other app, I am displaying my app in the Share sheet.The code is working fine as I have written Native module for Android. Below is the native code in Kotlin....
View ArticleReact Native Expo: Network error on android
I'm using axios in my app. When I make a post request for the very first time after opening the app, it is failing with the following error. From second time onwards, it works without any issue.Network...
View ArticleI made an application on react-native & uploaded its APK to playstore but...
We found that your app uses software that contains security vulnerabilities for users. Apps with these vulnerabilities can expose user information or damage a user’s device, and may be considered to be...
View ArticleiOS policy on third party website rendering inside app
I have a react native app and I need to open third party websites inside my application. Will it be inappropriate to open inside a web component(in app browser) of the app? Or, shall I open it in a...
View ArticleCould not invoke RNCookieManagerAndroid.get() null
I have used @react-native-community/cookies to get and set cookies while getting cookies from the web URL in react native webview I am getting this error, the session token is there in URL from which I...
View ArticleCould not invoke RNCookieManagerAndroid.getAll
Right now I'm trying to use this a package called react-native-cookies and I'm having trouble using any of the functions listed (for android). I'm encountering this error, which points to line 279 of...
View Article