Hide address bar on inapp browser on react native without using webview
I want to hide the address bar of inapp browser which gets redirected when I click on a link in react-native. How do I do that ?
View ArticleReact-native android - Error: Could not resolve all artifacts for...
gradle version:Gradle 5.6Build time: 2019-08-14 21:05:25 UTC Revision: f0b9d60906c7b8c42cd6c61a39ae7b74767bb012Kotlin: 1.3.41 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019...
View Articlereact-native run-android command can not resolve all artifacts for...
When trying to run react-native run-android gradle can not resolve all configurations :classpath.react-native run-android info JS server already running. info Building and installing the app on the...
View ArticlecompileSdkVersion is not specified error in React Native Android
I get the build error when I try to build an Android app in my React Native project.When I run react-native run-android, it says:> Configure project :react-native-os WARNING: Configuration 'compile'...
View ArticleCustom draw navigation not rendering - React Native
I'm trying to replace default drawer navigator with customDrawerNavigator. I have used ScrollView, DrawerNavigatorItems and passed props inside the custom drawer component. I have an AppNavigator...
View ArticleHow to fix running failed in react-native for Android (Mac machine)?
I tried to run react native Application in the Android emulator. but the terminal throwing the error and exit the process.But It's working fine in the iOS simulator.Already have my android sdk...
View ArticleHow to properly highlight text in React Native?
I would like to highlight a multiline text in a React Native app by changing the text's background color. The problem is that the background color changes in the whole text area, not just under the...
View ArticleReact Native fetch() not working android
I am trying to call fetch() function.It works fine on iOS but not working on Android.fetch('https://admin.leanpoint.com/Api/User/Login?user=srinu@mainpoint.dk', { method: 'POST', headers: {...
View ArticlePermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE gets denied even...
By using the following function, I want to save an image to the image gallery. I get the uri by using react-native-view-shot and then save to gallery by using react-native-cameraroll. But when using...
View ArticleHow to disable the keyboardAvoidingView behaviour in TextInput
I am working on a react native project made using react native cli. The problem is that the TextInput gets highlighted when the keyboard is visible/active & it squeezes the view and mess up the...
View ArticleReact native audio decoding base64
i want to decode and play audio file, which is encoded into base64, from the builtin library of react-native-audio which records the voice and give a data var which is encoded into base64 but i want to...
View ArticleW AppOps : Noting op not finished: pkg com.google.android.gms
Upgrading to RN 0.60.5 and the app is keep stopping. I run adb logcat and got a lot of errors which refer to com.google.android.gms package.some of the errors: 09-04 19:38:08.102 2893 3069 I...
View ArticleHow to prevent sensitive content with an image in task in react native
I would like to have an image in multitasking to prevent sensitive content.It's working on IOS but not on android. I have an component Mask.tsx const Mask: React.FC = () => { const [visible,...
View ArticleReact Native - Making background image avoid keyboard
I have a "fullscreen" background image that is used for a page:container = { flex: 1, width: null, height: null } <View ...> ... <Image ... styles={container}> ... <TextInput ... />...
View Articlejava.lang.IllegalArgumentException: Unable to find native library...
My ndk android application throw the exception when start it. I found that the output .so file named "native-lib_d.so", which causes this problem (because the release version work well).I set the...
View ArticleApp crashes on launch time with react native CLI after installing...
I have installed all the packages for react-navigation. I have followed all the instructions given from React Navigation.After installation when I build the app it's building successfully but getting...
View ArticleIs there a way to access data in AsyncStorage inside my Navigator.js file?
The structure of my app navigation consists of the following: - Authentication Stack (SwitchNavigator) - AppDrawer - Profile Screen - HomeStack - HomeTab - HomeScreen - SearchScreenThis navigator is...
View ArticleReact-Native-Maps fits Coordinate right after being loaded
The example provided in the examples of the react-native-maps repo on GitHub shows a button to execute a function to set the appropriate zoom considering to a list of markers: fitAllMarkers() {...
View ArticleReact Native | Failed to install the app. Please accept all necessary SDK...
I was trying to start running my react native project. But I'm getting this error while running the react-native run-android command. I tried a bunch of solutions that I found online but neither of...
View ArticleWhy is `unstable_Profiler` not profiling on production mode?
I have an issue with unstable_Profiler on my React-Native project that is ignoring onRender callback, but only in production mode. No errors, everything renders fine. I went by this article:...
View Article