Render date of message above message in react-native-gifted-chat
Issue DescriptionHello! When I render the message in a custom way, I can't show the creation date above the messages. How do I display this date? I tried to use the renderDay method, but it didn't...
View ArticleReact-Native and Expo-av library, Audio: How to execute something right after...
New Dev working on a React-Native app using the expo-av library to have background music playing.Right now, the Music Context folder looks like:export const MusicProvider = props => { const...
View ArticleShow one component in multiple or all screens
what's up?I'he been trying to add a custom reload button in all my screens, because in the future i'll change this element, but, I'm not getting it to work.I already try to create a custo screen and...
View ArticleReact-Native Memory leak, possibly from redux, please see details
So I'm building a react-native application for my work, and I'm using redux and websockets. I'm experienced a bad memory leak when i go to the messenger screen repeatedly, which i suspect has something...
View ArticleReact Native Android JNI crash
I start to get below error after React Native Activity loaded. We cleaned, removed, npm install, reimporting to android studio etc. Nothing solved.My react-native info output is:infoReact Native...
View ArticleGoogle Play Console unsupported devices because of...
I just released an app on Google Play. It shows 1614 devices don't support my app because of this issue:Doesn't support required feature - android.hardware.camera.autofocusHowever, my Android Manifest...
View ArticleReact Native scroll view not showing
I have a scroll view at the top level of the view hierarchy. I'm trying to get it to show its content but I haven't had any luck.I see that the documentation says scroll views need a bounded height to...
View ArticleCan't extract cities of country OpenWeather
I wanna use open-weather API for my application. for that i thought i might be able to save cities and their IDs in my own app in a json file and whenever i user wants a locations weather, app selects...
View ArticleReact Native Firebase auth().signInWithPhoneNumber() return unexpected error...
I have been working on react native app development which I've already built a released version. unfortunately, released version has caused me an unexpected error when the app is calling...
View ArticleReact Native offline App using react-native-sqlite-storage
I am new to react native. I want to build an offline react native app for storing user data (Basic user details, user personal documents, images, etc). I already gone through some documents about...
View ArticleReact Native : BLE, Discover & Broadcast (advertise data)
I'm very new to BLE APIs and capabilities. I want to achieve a "simple" thing. Let's say I'm developing the APP-X. I want to be able to scan other phone around me, with APP-X installed (exactly like...
View Articlereact-native-webview:clean :Unable to delete directory
react-nativecd android.\gradlew cleanerror message:Execution failed for task ':react-native-webview:clean'.> Unable to delete directory 'C:****\node_modules\react-native-webview\android\build'...
View ArticleHow can i copy bundle file to document directory in react native
I have json file in my bundle. I want to copy file to document directory. var path = RNFS.DocumentDirectoryPath +'/data.json'; RNFS.copyFile(`${RNFS.MainBundlePath}/assests/resource/data.json`, path)...
View Article'installDebug' not found in root project 'android' React Native
I am trying to run my project on the android simulator. When I run react-native run-android I am getting the following:FAILURE: Build failed with an exception.* What went wrong: Task 'installDebug' not...
View ArticleHow to disable screen capture/screenshot in react native app
I have came across few solutions specific for Android to prevent screen-capturing and taking screenshots. But how do i disable screen-capturing in react native in specific page/module?Thanks in advance!!
View ArticleNot getting manga reader API for react-native app [closed]
I am creating a manga reader app in react-native and thus requires an API for fetching mangas. I have found Rapid API but they are not working as expected.
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 ArticleHow to add strike through on Text in react native?
Hey I want to add Strike Through in $10 amount for showing cut amount. Please check below :<View style={styles.row}><View style={styles.inputWrapstotal}><Text...
View ArticleHow to hide the header from Tab navigation (bottom-tabs) in react navigation...
i am trying to use createBottomTabNavigator function for create bottom navigation tab, i want to hide the header, bellow the screenshot: my tab screenShotthis is my TabsNavigation.jsimport React, {...
View Articleunexpecteted token M in JSON at position 0, react-native && expo && android
I'm using fetch at react-native app powered by expo, const onStartPress = (level) => { setIsError(false); setIsLoading(true); fetch(...
View Article