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
11
votes
4 answers

KeyboardAvoidingView overlapping screen on iPhone X

I currently have a KeyboardAvoidingView with a hard-coded keyboardVerticalOffset of 64. This works fine on the iPhone but is about 20px short on the iPhone X. The component looks like this:
anthonator
  • 4,915
  • 7
  • 36
  • 50
11
votes
4 answers

React Native - NativeBase components not taking up full width on iOS

In the iOS version of my react native app built with NativeBase, everything is too skinny, unless a specific width is given. See images below. I have given the header and footer a width of 100% so it is fine, but I haven't done that for the inputs…
user2602079
  • 1,283
  • 5
  • 20
  • 39
11
votes
1 answer

React Native WebView rendering unexpected border at bottom

This is a little tricky to describe. I'm using a react native WebView component to make a mini-browser. It's working ok, but there's a strange black border at the bottom of it which I didn't put in. It appears when scrolling to or beyond the bottom…
user1002973
  • 2,088
  • 6
  • 22
  • 31
10
votes
1 answer

(0 , _helperModuleTransforms.getModuleName) is not a function - React Native

The Application was working before I ran pod update inside the ios folder. After that, I started to get this error. "react": "16.9.0", "react-native": "0.61.1", bundling failed: index.js: …
Yaman KATBY
  • 1,814
  • 10
  • 24
10
votes
1 answer

React Native: xcode build success on device but doesn't connect to metro builder

React Native 0.61 I'm trying to figure out where I broke something in XCode or in my iPhone. A couple of days ago everything worked fine - I pressed Run -> Build was successful -> and everything works via wifi (hot reload). But today when I press…
Max Kalik
  • 473
  • 6
  • 15
10
votes
0 answers

Error: Could not find image file:///Users/Library/Developer/CoreSimulator/Devices/

I have react-native ExpoKit IOS app, suddenly I have started to get an error, that app can't find images: Could not find image file:///Users/Library/Developer/CoreSimulator/Devices/ When I'm creating release build, I can see all images, when I…
Lucky_girl
  • 4,543
  • 6
  • 42
  • 82
10
votes
2 answers

How to implement AWS IoT(device) in React-Native?

I am trying to Implement AWS-IoT(device) using React-Native. I have used the packages, 1) aws-iot-device-sdk-js 2) react-native-aws-iot-device-shadows and got a lot of errors while using the package. I could debug few, but did not get expected…
10
votes
1 answer

React Native Month and Year Picker

i have successfully selected date and time in my react app using a react-native-modal-datetime-picker it worked smooth i want a picker in which i can select month and year only: How can I add a month and year picker? i tried to find examples and…
Bilal Shaikh
  • 115
  • 1
  • 3
  • 10
10
votes
3 answers

How to create a react native ios share extension app

I want my react-native app to be available for share from Whatsapp, Skype, Photos.. I tried using react-native-share-extension but it is only showing the extension in the Safari browser. How to implement the sharing feature in applications other…
Trinu
  • 1,721
  • 3
  • 21
  • 41
10
votes
5 answers

Vertical center custom font in React native iOS

Using React Native with Expo. Having difficulties centering custom imported font, at iOS. Android rendering with no issues, the text is vertically centered perfectly. Using iOS it is slightly upper than the center. (Native Font centering well on…
Rukala
  • 245
  • 3
  • 10
10
votes
0 answers

React-Native Maps: EdgePadding has no effect on fitToCoordinates

It seems that edgePadding does not do anything in the fitToCoordinates function. No matter which value I set, the result is always the same. I tried setting top, right, bottom left at 0, at 300, changing them from one another... The mapview is…
Arkon
  • 2,648
  • 6
  • 26
  • 46
10
votes
4 answers

Block/Disable tabs in TabNavigator - react-navigation

I have a TabNavigator as shown in the picture. Header Image I am using TabNavigator for creating these tabs as below. const Tab_Navigator = TabNavigator({ First:{ screen: First, }, Second:{ screen: Second, }, …
10
votes
1 answer

Is it possible to run ios apps developed using react-native in linux to real iphone

I am having a react-native app. I would like to generate an iOS app from my linux/windows machine. Is it possbile? Some friends has suggested me about BuddyBuild. is there any alternative solutions for me?? I have the following physical…
Thomas Easo
  • 3,457
  • 3
  • 21
  • 32
10
votes
4 answers

In react native how to reuse functions?

I need access functions from another page in react native . Example : validateEmail = (email) => { // ---- Code ---- } I need access that function in both login.js and registration.js
Saravana Kumar
  • 3,230
  • 7
  • 26
  • 44
9
votes
5 answers

Cocoapod error, tried to install all the possible way on M1

I get this error Downloading template ✔ Copying template ✔ Processing template ✖ Installing CocoaPods dependencies (this may take a few minutes) ✖ Installing CocoaPods dependencies (this may take a few minutes) error Error: Failed to install…