Questions tagged [react-native-ios]

React-native-ios: refers everything related to react-native ios development. Component, Styling, Routing and Native API access in react-native ios.

React-native is a library that enables iOS device applications to be written in rather than . When necessary you can fall back to .

3161 questions
1
vote
2 answers

React Native - Disable scroll drag detection in view that lays on a scrollview (similar to stop propagation)

This is a React Native Question. What I want to achieve is to prevent triggering the scroll event if user is dragging a particular part of a scrollView. Minimal example:
Andus
  • 1,713
  • 13
  • 30
1
vote
2 answers

Why RNFS can't write file as a doc file in iOS?

I'm trying to open a doc file written using RNFS. But I'm unable to open that file. When I try to open the file using the word application in iOS , I'm getting this error showing "Can't open file, file format doesn't match the file extension". var…
Vinay N
  • 249
  • 1
  • 8
  • 32
1
vote
1 answer

Navigation issue - can't perform a React state update on unmounted component

I am getting ExceptionsManager.js:94 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the…
1
vote
1 answer

How to use the anchor option for iPad in React Native's ActionSheetIOS?

As per the React Native documentation provided on https://facebook.github.io/react-native/docs/actionsheetios, we must pass a number to the anchor option. I honestly haven't read a more vague sentence in the whole docs and I am completely…
Kashish Grover
  • 2,806
  • 1
  • 10
  • 15
1
vote
0 answers

Adding Pods to a react-native project during upgrade to 0.59.0 raises security concerns

During upgrade to react-native 0.59.9 we're adding the following pods: - DoubleConversion - glog - Folly (We're adding these to solve some build problems after the upgrade as recommended in a number of places including…
Duv
  • 11
  • 1
1
vote
1 answer

React-Native How to update parent state variable from child component

I am presenting a component using Modal in react-native. So in the Child component(the component that is presented on top of parent as Modal) I am trying to update the state variable of parent, but it is throwing error like "'changeModalVisibility'…
iOSDev
  • 412
  • 10
  • 30
1
vote
1 answer

How to link react-native HOC dependencies?

I am using a React native HOC exported as a npm module which uses @react-native-community/async-storage internally throwing AsyncStorage of null due to linking issue. How do I link dependencies automatically once the module is…
1
vote
0 answers

getting response.error in React Native Image Picker

I'm using React Native Image Picker but I get this error in response "Cannot launch photo library" React Native Version = 0.60.3 This is my code handleProfilePicture = async () => { const options = {}; try { const granted = await…
Tayab
  • 71
  • 9
1
vote
0 answers

react-native-ssl-pinning drops headers on iOS GET request

I'm using the "react-native-ssl-pinning" to pin requests on iOS. The POST requests succeeds, but the GET requests fail because the headers do not reach the server. (The server complaints that the authorization tokens are missing.) But the same code…
1
vote
0 answers

React Native Expo App Missing Status Bar in TestFlight

After building the standalone iOS native binary using Expo, uploading to Testflight and running it on an iPhone, the status bar looks like there are many elements missing. What might be the cause of this? How can we fix it? Thanks! In iPhone Expo…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
1
vote
2 answers

containerPortal is NULL xcode Assertion Failure

After I've upgraded rect-native project from 0.57.0 => 0.59.10 I have a problem opening my project in xcode. Full stacktrace on react-native run-ios --verbose ➜ react-native run-ios --verbose info Found Xcode project Hub.xcodeproj info Building…
copser
  • 2,523
  • 5
  • 38
  • 73
1
vote
1 answer

React Native: How to grab only Apple Receipt and pass it through an API call

I'm having issues with grabbing solely the Apple Receipt from a promise. This is the usual response: Promise {_40: 0, _65: 0, _55: null, _72: null} The _55: null contains the receipt whereas null is actually the receipt since the body is too big to…
1
vote
0 answers

React native iOS application crash in production mode

My application developed in react native and last version deployed on app store crashing with below given crash logs. Last Exception Backtrace: 0 CoreFoundation 0x1a66a927c __exceptionPreprocess + 228 (NSException.m:172) 1 …
technerd
  • 14,144
  • 10
  • 61
  • 92
1
vote
1 answer

How do I build a react-native app using Xcode build

I created a completely new react-native project using: react-native init demo After the successful creating I can run it using the react-native cli. cd demo && react-native run-ios When I try to open the ios library in Xcode and click on the build…
Yaron
  • 1,655
  • 6
  • 20
  • 38
1
vote
2 answers

React Native project version upgrade error: v0.56 to v0.60, iOS fails

I'm currently upgrading one of my projects built in React Native v0.56 to latest v0.60. Created a new project with version v0.60 and updated all the packages used in previous version of app, but now facing weird errors. I've already tried all the…
Neetin Solanki
  • 683
  • 4
  • 19