Get the length between two dates in hours
I am reading sleep data into my react-native app using react-native-healthkit, and I need to find a way to get the total amount of sleep time. The data is read in like this:If anyone has any ideas on...
View ArticleReact-Native play video using expo sdk
I want to play a video from url using expo sdk for react native.I read the sdk but I am unable to understand how to make it work. Here is link for expo sdk video docs.Here is my code import React from...
View ArticleHow do I address React Native network requests failing after upgrading to HTTPS?
I've been developing a React Native app and most of my functionality is now in place. The backend is a REST API written in Kotlin using the Spark microframework on top of a PostgreSQL database. The app...
View ArticleIs it possible to detect if an app in AppStore is developed with React Native?
For Android there are a few decompiling applications such as Show Java. We are able to understand which platform used for the development of that Android app. Is there any way to understand if an iOS...
View ArticleXCode Linker command failed - Directory not found
I am using auth0 on a React Native iOS project, and I have completed the following steps:First you need to run the following command to install react-native-lock npm install --save...
View ArticleIf I open my app and close it again so fast, when I come back to it, all the...
I'm having a problem that's not dramatic, but it's a little annoying anyway.If I open my application (it's basically killed) and I cut it directly (like really fast), and then I click on it again to...
View ArticleHow to building React Native App using WebRtc
Thank you for your help in advance.I want to make a new WebRtc mobile application for video calling using react native, i checked many articles but not getting exact information how to start. Can any...
View ArticleEPERM: operation not permitted, chmod @react-native-community iOS
I am using React 16.8.6 and react-native 0.59.6. iOS.While typing react-native --version or anything prefix with react-native, it is showing the following error.internal/fs/utils.js:220 throw err; ^...
View ArticleReact Native IOS Status Bar background
Since Applying the backgroundColor props to StatusBar component doesn't get applied On IOS. I need to set the background colour of SafeAreaView to get the effect i want, it works fine but on iPhone X...
View ArticleOpen Url in default web browser
I am new in react-native and i want to open url in default browser like Chrome in Android and iPhone both.We open url via intent in Android same like functionality i want to achieve.I have search many...
View Articlereact-native How to open local file url using Linking?
I'm using the following code to download a file (can be a PDF or a DOC) and then opening it using Linking.const { dirs } = RNFetchBlob.fs; let config = { fileCache : true, appendExt : extension,...
View ArticleCant run pod install in windows for react native
I have already installed cocoapods and ruby but still dont get what i m doing wrong can somebody lease help me. I m using it for navigation
View ArticleUndefined symbols for architecture arm64: _YGConfigNew in libyoga.a(Yoga.o)
When I launch my app with XCode or with react-native run-ios in an iOS emulator, it work good.But if I do the same in a real device, it not work. I've got this error :Undefined symbols for architecture...
View ArticlePubnub preventing detox syncing
Need some help with Detox. I’ve got a similar issue to https://github.com/wix/detox/issues/272 We have a Pubnub publish-subscribe SDK included in our app. So, when running a detox test, it will always...
View Articlereact native store notification data when app is close or in backaground
I'm trying to build a react native app that includes chat, I'm using realm for storing my data on the device, and FCM to get a remote notification with 'react-native-firebase'.I would like to know if...
View ArticleReact Native ~0.61.4 Event Emitter causing crash on IOS?
I am building a Music App where the mini player component holds the expo audio instance and it is separated from the bottom tab navigator for two important reasons : 1 - The audio instance lives in...
View ArticleUnable to read package larger than 184 bytes on iOS using react native BLE PLX
I'm trying to read a characteristic that sends a JSON string as the value, this string is larger than 185 bytes, which is not a problem when testing it on an Android device but it's being cut off when...
View ArticleReact Native Press Two Buttons at the same time
GoalI need users to be able to press up to 4 buttons at the same time in React Native.Current RoadblockI'm using TouchableHighlight and when one button is pressed, none of the other 3 buttons can be...
View Articlehow can send badge from firebase-admin to android application?
I want to send badge from firebase-admin to applications. I can send badge to iOS apps and show its on app icon but in android can not. how can send badge from firebase-admin to android applications...
View ArticleHow to profile network on React-Native?
I am searching that for a day but can't get proper solution.I have to know how to profile network requests on my react-native app.I am uploading data to the API and two servers and want to know what is...
View Article