Plugins section in Android main project build.gradle
What is the format of the main project level Android build.gradle file when we have to use plugins section inside buildscript section? In other words I want to know where to put this section in the...
View ArticleReact Native - What is the android alternative to iOS direction property on...
My app supports both LTR and RTL, in specific components (graphs for exapmle are always English) i would like to manually set direction to ltr. It works great on iOS but not on android. Any ideas?
View ArticleHow do i extract a image URL from my firebase storage download react...
This question already has an answer here:How do I return the response from an asynchronous call? 36 answersI have a problem with my current program, im using firebase storage with web, and i am trying...
View ArticleDeprecated Gradle features were used in this build, making it incompatible...
I try to get Apk in react-native however it doesn't give me anything. release file which is in Apk file is empty and after Gradlew bundle release is finished, it says Deprecated Gradle features were...
View ArticleHow to set canOverrideExistingModule=true in React Native for Android Apps?
I built an android app using React Native, it got built successfully but when I run the app in my Android Virtual Device it shows up a full red screen with the following error:I have not done native...
View ArticleRealm for web development
I have been using a Realm for mobile development and now I am trying to build a website using the same database. I was wondering if a realm database can be used for standard web development.
View ArticleHow to add custom font in react native android
I am learning react-native, trying to create some demo apps just for learning. I want to set fontFamily to roboto thin of my toolbar title. I have added roboto thin ttf in assets/fonts folder of my...
View Article(React native) How to use SafeAreaView for Android notch devices?
I'm actually developing an app with react native and i'm testing with my one plus 6 and it has a notch. The SafeAreaView is a solution for the iPhone X but for Android, it seems there is no...
View ArticlePlugins section in Android main project build.gradle and missing modules
I get the following error:BUILD FAILED in 56s ERROR: Plugin [id: 'de.undercouch.download'] was not found in any of the following sources:- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)...
View ArticleReact Native run on multiple simultaneous Android emulators
I would like to test my app on at least 2 Android emulators simultaneously. I can start 2 emulators but can't seem to find how to react-native run-android my app on 2 emulators with ADB. If possible I...
View Articlereact-native run-android error "Task :app:javaPreCompileDebug FAILED"
EDIT: This issue was solved by forcing the gradle not to jetify my native library. This is done by adding in gradle.propertiesandroid.jetifier.blacklist = your-causing-issues-library For more details...
View ArticleReact Native access strings.xml from inside javascript code
Is there a way to access the current values from android/app/src/main/res/values/strings.xml from inside Javascript code? I want to place different endpoint URLs for each build, but I'm failing even to...
View ArticleCant find variable:Buffer in react native android application
This error occures after resolving another error from herewhen It resolves crypto error but it creates new error for me how could I solve it?
View ArticleHow To Send & Receive Data Over Wifi Without Internet In React-Native
I am developing a game on React-Native that works completely offline without needing internet connection, The game will be multiplayer 1vs1 game, and players will join via Wifi Hotspot (also known as...
View ArticleI have an error in react native null is not an object ''evaluating...
I installed react native on linux machine.I want to implement createBottomTabNavigator in my practice code.I create 5 folders and index.js inside them. navigate.js :import {createAppContainer} from...
View ArticleReact-native-final-tree-view : On clicking a particular node,the entire tree...
I'm developing a react-native app which consists of a tree view for which I have used the React-native-final-tree-view library. On clicking on a node,The entire tree closes and also the children is...
View ArticlePassing data through React-Navigation Issue using @merryjs/photo-viewer in...
Passing Data Using React-Navigation. Only grid images showing but the image preview throwing android error.render() { const photos = this.props.navigation.getParam('getPhotos').acf.gallery; const...
View ArticleRazor pay not working in react-native version 0.61.5. Android app crash on...
All parameters are holding proper values, but app crashes without logs RazorpayCheckout.open line. let options = { description: title, image: 'https://cdn.razorpay.com/logos/DjijAUZBHCGlv4_medium.png',...
View ArticleRNCamera Error:TypeError:...
[Unhandled promise rejection: TypeError: CameraManager.checkIfRecordAudioPermissionsAreDefined is not a function. (In 'CameraManager.checkIfRecordAudioPermissionsAreDefined()',...
View ArticleGetting "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