Headers are not being sent in iOS but working in android for Axios React Native
I'm using Axios for sending http requests, it's working fine for Android, but the headers are not sent in iOS, here is my code: Axios.get('/patient/doctor/search?page_size=10&page=1')...
View ArticleFlatList onEndReached being called multiple times
I'm making a react native project where user can search images using Flickr API, Everything else is working fine but the problem i'm having while implementing pagination. I have used FlatList's...
View ArticleReact Native IOS "CRAWKWebView"
How can I fix I get "CRAWKWebView" error when I build iOS in my React Native application.?Invariant vilation: requireNativeComponent: "CRAWKWebView" was not found in the UIManager Screen SHOT :IOS...
View ArticleHow to use a EXPO iOS StoreReview API?
I tried to add a EXPO iOS StoreReview API but failed. have any sample code?import * as StoreReview from 'expo-store-review'; ... export default SettingPage() { handleReview = () => { if...
View Articlereact-native-ble-manager return device name null
I'm using react-native-ble-manager for scan and show all devices. It's working fine, but it's not showing the name of devices (just the MAC id). Here's my code:import React, { Component } from 'react';...
View ArticleReact Native: Determine number of lines of Text component
As the title says, I've been trying to find a way to determine the number of lines the text component AFTER it has been given text. Look at my example below.<Text> Lorem ipsum dolor sit amet,...
View ArticleReact-Native: React could not be found within project or in these directories
We have upgraded our react native project to the latest react native version (v0.61.2) with react (16.9.0) and it works perfectly fine on android. When we try to run it on ios thought, we get the...
View ArticlePrevious Ad-Hoc build on iOS crashes on start
I'm currently distributing a react-native detached expo app for iOS via ad-hoc distribution, and I have a paid developer account. The build can be downloaded and installed just fine, but I've noticed...
View ArticleReact-native: Project through error after update Catalina
I am facing issue in run the project after updating Mac OS version high sierra to Catalinarun command react-native init pod install in ios directory then run ios code using xcode(10.0)"react":...
View Articlefailed to load podspec - invalid podspec file syntax error, unexpected ']' -...
I don't know how this happened but I suddenly started getting this error about multiple podspec files (DoubleConversion, Folly, glog) when I try to pod update:Commandline output: Updating local specs...
View ArticleHow to integrate native ios camera SDK in existing react native App?
I am currently working with a react native app as per requirement i need to integrate external camera with ios and android SDK.As react native SDK for particular camera is not available can anyone help...
View Articlecan't change background color of a button that's imported from...
i am new to react native following a tutorial. I noticed there is no consistency of buttons between android and iOS so i thought i'd try react-native-paper library. however, after importing the button...
View ArticleDetox Testing with Expo - Cannot connect to Emulator
I'm currently building a proof-of-concept to see if we can use Detox for end-to-end testing a React Native app that's built using Expo.I've followed the instructions here, but the tests are timing out....
View ArticleWhy IOS on react native duplicates my cookie?
I do a POST request with axios and I set a Cookie in the headers. In Android it works fine but in iOS the server's logs show me that the cookie has been duplicated by iOS. I have set an interceptor in...
View ArticlegetUserMedia iOS, better to have app instead of browser solution [closed]
Created a site where I needed user to use their microphone and in realtime I display the waveform with different visualizations. This seemed to work on desktop browsers but did not work consistently on...
View ArticleExpo app 'Your app is using the Advertising Identifier (IDFA)'
I am trying to upload an app to the App Store and every time I upload a binary Apple insists that my app is using ads when I have never implemented such a thing. I reviewed the docs and removed all...
View ArticleHow to hide the text selection handles from TextInput in React Native?
I have a TextInput in React Native with property selectTextOnFocus={true}, it highlights the text on first touch and show the context menu on second touch which is correct.What I want is hide the left...
View ArticleUnable to Archive on Xcode 11 using realm
Unable to Archive using Xcode 11.1Able to build an archive on Xcode 10.3 but archive not generating on Xcode 11Steps:-1.) Install latest or old 'realm'2.) Link the realm using - react-native link...
View ArticleDuplication of notification when app is open
React Native duplication of notification when app is open async componentWillMount() { // herhangi bir bildirim etkileşiminde çalışır FCM.on(FCMEvent.Notification, notif => { console.log("Bildirim...
View Articleworking with react-native, How can we execute javascript function at native...
Question: Hi ! I want to execute a Javascript function at native level in IOS. I achieved the same in android by exposing the javascript function to the Java and then used that function in android by...
View Article