Do you add multiple buildscripts in `app/build.gradle` for manual Android...
In the section adding the gradle plugin for this React Native component, it tells me to add the following code to app/build.gradle:buildscript { repositories { maven { url...
View ArticleA problem occurred evaluating settings 'android'. gradle.groovy does not exist
I am getting following error message while running the command :react-native run-androidA problem occurred evaluating settings 'android'.Could not read script...
View ArticleIs there any call back that hit when we receive firebase notification in...
I have react native application that targets to both IOS and android. I integrated firebase notifications in my react native mobile application. I face a problem for android when the app is in...
View ArticleExpandable issue in React-native-final-treeview library. How can we resolve...
I'm using the react-native-final-treeview library. I have set the constant JSON data. The expandable attribute does not work properly on this. On clicking on a node, all the parent nodes are expanded...
View ArticleVideo stream receive in react native
I have a video stream from my home camera on rtsp protocol. Is it possible to play it on ios and android? I am trying to createVersions:npm: 6.13.4node: v12.14.0react: ^16.12.0react-native: 0.61.5I...
View ArticleGradle Plugin not found - Gradle Under Maintenance?
When I try to compile my project withreact-native run-android It keeps returning me this:JS server already running.Building and installing the app on the device (cd android && gradlew.bat...
View Articlemetro-config node_modules not found in react-native project
I am serving "react-native start" command in my project and it gives me below error.Invalid regular expression:...
View ArticleReact Native disable console.warn yellow box from the app screen bottom
I want to remove console.warn and all other warning messages that happen to appear on my react native app with a single line of code. Before I have achieved this by adding the following in my...
View ArticleHow to display app icon badge in React-Native (Expo) app?
I'm developing a mobile application using React Native (Expo). I've used Expo Push Notifications to handle my notifications. Now I want to display a badge on my app icon which shows the number of new...
View ArticleHow to use Android flavors to make a build for detox testing with higher...
I want to use Detox for React-native e2e testing which requires minSdkVersion of 18, but my app is on 16. I'm not yet ready to upgrade to 18 for my app, so i want to use android flavors to make one...
View ArticleNow that React Native has auto-linking, do we still need to use `react-native...
Now that React Native includes auto-linking, we no longer have to use react-native link. If we want to remove a library, we do npm uninstall <lib>, but do we still have to do react-native unlink...
View ArticleCan't get background tasks to work in React-Native
I need to frequently write into a text file, let's say write a timestamp into a file with react-native in iOS and android. I wrote an app by the help of the following libraries. On android, the app is...
View ArticleBackground service on react-native android
Is there any way to create a background service with react-native on android? I would like some sort of timer that wakes up every hour or so, and launches a simple javascript task.
View ArticleHereMap Premium SDK on React Native android app - Fragment added but not...
I'm going to integrate here map premium sdk especially turn-by-turn map on a React Native app. On the official example, here map sdk provides the Fragment with all of it's features. I tried to make...
View ArticleReact native App on android stops execution of react-native-background-timer...
I am call a function which is call in background continuously.but when app is locked this function is not call. I used react-native-background-timer to do call in background. Please help me to solve...
View ArticleNull reference error while using Polyline with react-native maps
When I use Polyline it gives me this error: attempt to invoke interface method 'java.util.iterator java.util.list.iterator()' on a null objectAt first, I thought I made something wrong or I mis-used...
View ArticleReact native Amplify AWS package conflicting firebase
In my react native project I earlier added aws amplify for push notification. After that I wanted to do analytics, so I added firebase to it. After that, my android app build but stops as soon as it...
View ArticleHow to get Online Current Date and Time in React Native
I tried to get current time and date by this commandnew Date() But when I change the time on my phone, It changed base on the time on my phone.I want to get the current time and date in real time....
View ArticleAvoid status bar overlap on all screens
I want all screens on my app to appear below the status bar on both iOS and Android, so I'd either have to add a StatusBar component or a paddingTop to all my screens.Is there a way to do this...
View ArticleReact Native on Mac: The SDK directory '/Users/username/Library/Android/sdk'...
I am trying to start up the Android simulator on my High Sierra MacBook Pro. I have followed these guides: React Native error: "Could not determine java version from '9.0.1'."React Native android build...
View Article