Change package name for Android in React Native
I used react-native init MyApp to initialise a new React Native app. This created among others an Android project with the package com.myapp.What's the best way to change this package name, for example...
View ArticleCould not compile settings gradle React Native
The app worked for me from another machine, now that downloading the files from the repository on another computer gives me this problemFAILURE: Build failed with an exception.Where: Settings file...
View ArticleSsh to hotspot doesn't work when mobile data on
I've followed an article (https://www.raspberryconnect.com/projects/65-raspberrypi-hotspot-accesspoints/158-raspberry-pi-auto-wifi-hotspot-switch-direct-connection) to be able to access Raspberry Pi...
View ArticleReactNative - Android NoSuchKeyException fatal error
Cannot locate the problem (it happens on clients devices, not in mine), please help.Fatal Exception: com.facebook.react.bridge.NoSuchKeyException: backgroundColor at...
View ArticleReact native TouchableOpacity onPress not working on Android
TouchabelOpacity works fine on iOS but the onPress method does not work on Android for me. My react-native version: 0.57.4My code:const initDrawer = navigation => ( <TouchableOpacity style={{...
View ArticleReact native maps "LongitudeDelta" error on Android after Map renders
I am using MapViewoffered by React native maps and it works fine in iOS but in Android it gives me LongitudeDelta error after first map render here is a screenshoot for the error: I tried to generate...
View ArticleReact Native run-android error, cannot find symbol
I'm trying to make Notifications for android using NotificationCompat, i'm stuck on a problem where i get "error: cannot find symbol". This is my NotificationService.java file. I'm thinking that maybe...
View ArticleHow to get app latest version from PlayStore/AppStore react native
I need to compare my app's version with the latest version from PlayStore/AppStore. I used react-native-version-check but it's not working properly for my app. Is there a way to call directly to the...
View ArticleAnother question about icons and push notifications
I searched a lot for this question in these last days and any answer that I saw until now it couldn't help. I'm developing an app with React-Native and after trying with a lot of modules to send push...
View Articleconcat problem with AsyncStorage react native
if someone could clarify and/or help would be appreciated as not sure if it's a bug or a problem with my code.I'm developing this app with react native. On this page where I handle the drafts I have an...
View ArticleCan I upload an app with a different name in every country? on IOS and android
I have developed an app and would like to upload it on play store as well as on app store, is there an option to upload it as 1 APP but with a different name for every country?
View ArticleReact Native Error: Attempted to use a firebase module that is not installed...
I am not sure what else to do. I have this erros when trying to login into a application:React Native Error: Attempted to use a firebase module that is not installed on your Andrid project by calling...
View ArticleCommand: `react-native run-android` hangs at "info Starting JS server..."
Picture of hang in terminalJust getting started with react native. I've gone through the instructions React-Native and have set up my android emulator, got all that stuff good to go.I used npx...
View Articlereact-native run-android, unimodules installling contains unused expo
I recently eject expo from my react-native app and successful run the app after some configuration and code changes.I already remove 'expo' from the package.json since I realize the current project has...
View ArticleHow do I settup more than one pathPrefix for Androir deep linking in expo? -...
I'm trying to implement Deep Linking in my Expo-React Native app. I have the following configuration on app.json but I only can open the app with the link containing the pathPrefix /home....
View ArticleHow enable Tls 1.1 and 1.2 in react native (android)
Well, I'm developing an app for android and IOS platform, inside my app I'm fecthing data from an API. I realised that my app can't fetch data in some android versions. I tested in andoroid 4.1, 4.4...
View Articlereact native firebase - Push notification iOS sometimes not working
I am struggling with sending Push Notification using the react-native-firebase.There are somethings strange. Sometimes, the iOS app work perfectly, but sometimes, it receives the Push Notification ONLY...
View ArticleProblem runing 'react-native run-android'
When i run 'react-native run-android' i get the following problem:Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went...
View ArticleHow to reduce Android APK size in react-native?
I am working on react native project , but whenever i am building an Apk file , it give me Apk of 47MB. I tried every documentation which i found useful on google but nothing works for me, Is there any...
View ArticleHow To Auto Resize React Native Gifted Chat Input?
I use React Native Gifted Chat and I have a problem, when text input is more than two lines or the user uses enter then TextInput is not auto-resize. Like the picture below:This is my code:...
View Article