Category : react-native

The toolbar which appears above the keyboard when focusing a text input on Android takes up unwanted space. Is it possible to programmatically disable this toolbar in React Native in order to free up screen space? I’ve looked through the React-native TextInput documentation but haven’t found anything so far. Source: Android..

Read more

I set my app screen orientation to portrait in AndroidManifest but it’s not working, when user rotate mobile to landscape screen also rotating to landscape. Anyone can tell me why it’s not working?? <application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/qqq" android:roundIcon="@mipmap/qqq" android:networkSecurityConfig="@xml/network_security_config" android:allowBackup="false" android:usesCleartextTraffic="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" ..

Read more

I don’t understand what the issue is first I’m using react-native-drawer v4 but after I’m trying to use ‘@react-navigation/drawer’ v5 but it’s not working. Someone who can help me with what mistake I’m doing. I’m using expo-CLI for the react-native app. Reason to move on v5 I feel easy to add custom button or options ..

Read more

I’m trying to install firebase app in my react native app. I have followed the below method and it was working fine with "11.2.0" version. https://rnfirebase.io/ When I have tried to add @react-native-firebase/firestore "11.3.0" it failed with some reason. So I have updated @react-native-firebase/app to "11.3.0" . After that I have tried to npm run ..

Read more

I am interested to know how to import and use CIRCLE class from google Maps (https://developers.google.com/maps/documentation/javascript/reference/polygon#Circle) into an expo rn app. As the Map View Component in expo by default loads the google map on Android Platform, so is it possible? PS: I know I can use the Circle component from react-native maps. But, because ..

Read more

Every time I run my React Native project I see: Starting a Gradle Daemon (subsequent builds will be faster) File /home/jcabrerazuniga/.android/repositories.cfg could not be loaded. Checking the license for package Android SDK Build-Tools 28.0.3 in /home/jcabrerazuniga/Android/Sdk/licenses License for package Android SDK Build-Tools 28.0.3 accepted. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)". "Install Android SDK ..

Read more