Peer to peer connection using ract-native
I am looking to build a Mobile app using react-native that should be able to find nearby phones with the same app installed. At a highlevel, I am looking for something like this:This app should be able...
View ArticleHow to switch account using GoogleSignIn without sign out?
I am building mobile application with google sign in button. I want to show auth popup everytime I need without signing out before. So user can change his account to another one OR if he changes his...
View ArticleApple TV simulator not running on React Native 0.61.4
I created a React Native project with the last version: react-native init project --version 0.61.4 and when I try to run the project on Apple TV simulator I get this error:ld: library not found for...
View ArticleCustom font not working in React Native
I want to use a font from google fonts in my app. Here is the font.I have placed the .ttf file in app/fonts. package.json:{ "name": "xxx", "version": "0.0.1", "private": true, "scripts": { "start":...
View ArticleUnable to Retrieve Location
I'm fairly new to React Native but I'm trying to create an application using React Native with React Community Geo location. When I started my application earlier today by running npx react-native...
View ArticleHow to change iOS slider value through Appium/WebdriverIO
I am testing my React Native app using Appium and WebdriverIO. Having difficulty in changing slider values.Normally in XCUITest I can easily achieve this using the following...
View ArticleHow to use RegExp in React-Native Webview's injectedJavaScript prop?
When I use regexp in React-Native-Webview's injectedJavaScript prop, an error Unterminated regular expression literal error will be thrown and the regexp will not be honored. How should I use regexp in...
View ArticlePOD error when trying to use Webstorm for React Native iOS development
I am new to React Native and iOS App development. I come across the following error when I try to run an new reactive native project for iOS:/usr/local/bin/node...
View ArticleAppDelegate.h:8:9: fatal error: 'React/RCTBridgeDelegate.h' file not found...
I recently added some targets to my React Native project in XCode 10.1I am using React Native version 0.60.4I was able to successfully add targets and run pod install, but then when I run react-native...
View ArticleReact Native iOS Build - Directory not found for option
DescriptionI'm doing the build process of my IOS app with the App Center. But it runs pod install and in the next step it uses .xcodeproj instead of .xcworkspace folder. It gives an error of directory...
View ArticleUsing React Native Webview with React Native 0.37
I'm trying to install RN Webview as Apple is going to depreciate the existing WebView. I'm having some issues with the installation.Note: Our project is on RN 0.37 and upgrading cannot be done...
View ArticlePeer to peer connection using react-native
I am looking to build a Mobile app using react-native that should be able to find nearby phones with the same app installed. At a highlevel, I am looking for something like this:This app should be able...
View ArticleHow to get rid of app icons from appearing on Share?
How do i exclude the Instagram and iOS Messaging app icon from displaying in Share? I can't find the string to disable it in ExcludedActivityTypesimport { Share } from 'react-native' . . . const result...
View ArticlePause certain notifications when app is closed (vehicle tracking)
I am developing a vehicle tracking application and am trying to implement functionality to notify users when a vehicle arrives at defined geofences.I need to restrict notifications so that the user...
View ArticleAdd image instead of string title to react-native-segmented-control-tab
I'm using react-native-segmented-control-tab in my project and it works fine. Below is my current code<SegmentedControlTab tabsContainerStyle={styles.tabsContainerStyle} tabStyle={styles.tabStyle}...
View ArticleReact Native apps can be upgraded to Kotlin and Swift [closed]
I have a company that has an application in the Google store and another one in the Apple store, both are created in React Native, but they no longer want to continue using it and want to switch to the...
View ArticleCan not connect to localhost api using React Native app run on real device iOS
I have been developing a React Native with a rails API running on localhost:3000. I have one endpoint only because I am using graphQL with Apollo Client, so I connect to the api with...
View ArticleHow do i exclude the Instagram button from Share?
I would like to exclude Instagram icon from the list of icons presented when using react native Share.Share(). It just looks awful when posting items. How do i add it to the list below?...
View ArticleHow do i know when i've clicked a specific app icon when Sharing?
I'm using 'Share' from React Native. How do i know when the application has been clicked? I want to know as soon as a user clicks an app icon (e.g. Instagram) and then launch my own function, not the...
View Article'expo' is not recognized as an internal or external command
After running npm install -g expo-cli and successfully installing the packages globally, expo is still not recognized as an internal or external command. Does anyone know how I might get around this...
View Article