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
0 answers

After migrating to react native to 0.59.8, iOS app is sluggish,laggy

I have migrated 'ios-native' + 'react-native' to react 0.59.8. I had a stable version before migrating to 0.59.8 version of react. After migration, it's very laggy & slow. Most changes are in imports(99%), no other specif changes were required to…
the1pawan
  • 1,194
  • 9
  • 26
1
vote
1 answer

Default Background Color in defaultNavigationOptions

I tried establishing a default background color for all my headers, but it is not working. I am using defaultNavigationOptions and it is not working. const RootStack = createStackNavigator( { Home: HomeScreen, Details: DetailsScreen …
csb00
  • 1,091
  • 2
  • 18
  • 36
1
vote
2 answers

How to get params in other App Container - React Navigation?

I want to use the params I passed to Profile Screen and he is in a separate App Container, And I create TopTabs and put it in a specific AppContainer because I don't have any way to use it in a one AppContainer so how I Get these Params from another…
DevAS
  • 807
  • 2
  • 15
  • 41
1
vote
0 answers

Syntax Issue in Stylesheet

I am getting the following error on my simulator: Unexpected token(71:6) and it's something to do with the styling portion of it. After a long day of coding, I need a different pair of eyes to look at this. The const styles and the last…
csb00
  • 1,091
  • 2
  • 18
  • 36
1
vote
1 answer

React Native can not build and run by Xcode10

New react native project can react-native run-ios to run on device but can not run by xcode 10. It gets the error when I build the project. ld: warning: directory not found for option…
Nick Viatick
  • 265
  • 1
  • 4
  • 19
1
vote
1 answer

My code is fetching partial data from JSON while on some data it says undefined

I am using Youtube Data API v3 and only partial data is accessible I am attaching a picture , it can access items.snippet.title but says undefined on items.snippet.thumnails.high.url. But on console.log(item) , it shows all the data is…
1
vote
1 answer

Trying to implement Touchable Button but "Invariant Violation: Text Strings must be rendered within a component" keeps popping up

I am new to React and I was trying to make an app where there will be a title ("Hello World") that would fade in and button on the screen so it can redirect I am trying to implement a Touchable Button with Opacity onto my HomeScreen but this error:…
user11777242
1
vote
1 answer

Any In App Document (pdf, docx, xslx) viewer library module available for react-native?

I have been trying to open documents like (pdf, docx, xslx) file into (inside the app, not in any other installed app) my react-native application. From research I got some PDF viewer only that will be used to open pdf inside the app but not the…
Purvik Rana
  • 331
  • 7
  • 17
1
vote
1 answer

How to disable autolinking on iOS?

I've installed react-native-localization in my react native project (v0.6). Library is not supporting autolinker yet so I need to disable it for iOS and Android in react-native.config.js. I already tried to add dependencies in…
Bartson
  • 93
  • 1
  • 8
1
vote
0 answers

Reading ReactNative App version from javascript

I am wondering there is a way to access the applications version name/number via javascript in a react native application. I have a snippet of javascript which I inject into an application but I want to know the version of the application before I…
Hades
  • 3,916
  • 3
  • 34
  • 74
1
vote
1 answer

Could not find XXXXXXX simulator

The last 2 days I've been banging my head on this, and since I had to dig through gitHub issues to find my fix, I'm putting it here so it will hopefully help someone else. I can run all of the other simulators I use, but recently have found some UI…
Doug Watkins
  • 1,387
  • 12
  • 19
1
vote
2 answers

How can I create or delete tabs in React Navigation based on the data fetched from API?

Let's say there is a tab view which has tabs with names Breads, Pizzas, Beverages, Desserts, Shakes. And the name of these tabs are fetched from API. Also, the information for each tab to show on their respective screens is fetched from the API…
1
vote
0 answers

Unable to perform npm install on react native project

I am working on a react native project and wants to install react navigation library for this I am trying to do npm install first but I am not able to do it. node version: v12.4.0 npm version: 6.9.0 I am getting the following error: node-pre-gyp…
pankaj
  • 7,878
  • 16
  • 69
  • 115
1
vote
1 answer

issue with offset calculation of zoomed element based on screen

I'm trying to calculate the coordinates of a zoomed in image based on the pageX and pageY coordinates given to me by a PanResponder. I figured I would just have to add the offset of the X and Y to the coordinates given back to me but I seem to have…
1
vote
0 answers

React Native IOS, library linking is not working

I am working on react native application, I have updated react native version of my app. After installing packages and updating pods, I run command to link all libraries:: react-native link But it doesn't work then I have tried manual linking,…
Archana Sharma
  • 1,953
  • 6
  • 33
  • 65