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
18
votes
1 answer

How to Encrypt and decrypt a Text in react native?

I need store the secure information in AsyncStorage , So please any one explain how Encrypt and decrypt a Text in react native
Saravana Kumar
  • 3,230
  • 7
  • 26
  • 44
18
votes
4 answers

Supporting Dynamic Type in React Native (iOS)

Does anyone know how to implement Support For Dynamic Type in React Native? Ideally, we would like to listen for when someone has changed the size of the system font, and perform some type of callback. Or even better, prevent Font Scaling from…
Nader Dabit
  • 52,483
  • 13
  • 107
  • 91
17
votes
9 answers

fatal error: module map file YogaKit.modulemap not found

I am trying to build an iOS app and get this error. I have the project, target, and podfile all specifying iOS deployment target of 14.2. I am using Xcode V12.2. fatal error: module map file…
sizzle
  • 2,222
  • 2
  • 21
  • 32
17
votes
11 answers

React Native: Double back press to Exit App

How to exit application with twice clicking the back button without needing Redux I was looking for a solution to limit the user and do not get out of the application with one click in react native.
Mahdi Bashirpour
  • 17,147
  • 12
  • 117
  • 144
17
votes
4 answers

Header for DrawerNavigation with react-navigation

I'm on ReactNative and i'm using native-base and react-navigation npm. I got this and my question is how I can have a header, up to the button "Home", I looked into the documentation of react-navigation but it's not really…
Erased
  • 571
  • 4
  • 10
  • 22
16
votes
1 answer

react-native log-ios returning no device found for real device

I am trying to run console.log from a js file for iOS application react native. Before this, I have tried to use react native's debugging feature 'Shake Device' in which I couldn't succeed. Now I am trying to run the command line debug console by…
Dev Qualwebs
  • 161
  • 1
  • 6
16
votes
3 answers

How to remove use_frameworks! AND keep using swift pods on an objective-c project?

our project is an Objective-c project. Since we're using react-native-firebase we can't use use_frameworks! in cocoapods any more. The problem is we have a swift pod dependency (PromiseKit) and to use swift dependencies we must use use_frameworks!…
SudoPlz
  • 20,996
  • 12
  • 82
  • 123
16
votes
4 answers

React Native - React Native Architecture

Does React Native Application Development can be implement with Software Architecture such as MVC, MVP, MVVM? Thank you.
I am a Student
  • 1,570
  • 4
  • 21
  • 36
16
votes
5 answers

Set contentInset and contentOffset in React Native's ScrollView

I am trying to make my content start 100 px from the top in React Native. I have tried with const OFFSET = 100 const ScrollViewTest = (props) => (
Jamgreen
  • 10,329
  • 29
  • 113
  • 224
16
votes
3 answers

Trying to add mailto - react native

Mailto appears to not be working. All that happens is that the icon appears to be pressed, but no action occurs. Shoots out this warning: Warning Code
user2026178
  • 308
  • 2
  • 4
  • 21
15
votes
0 answers

How can i create a react-native module with storyboard

I have received a sdk with a storyboard and multiple view controllers. In my react-native module I want to expose a method that will transition to this storyboard and the get the result back. I have tried to follow this answer: React-Native iOS -…
Maxim Toyberman
  • 1,906
  • 1
  • 20
  • 35
15
votes
1 answer

How to add load more records with Spinner in FlatList react-native (means -10 - 10 records) manually! not from using server side

Hi I am developing sample application based on FlatList this is my code here. Actually i showed entire records like i have 50 records to my account . But now i am displaying entire 50 records. Bur i need show 10 after adding to 10 records. But i…
Lavaraju
  • 2,614
  • 7
  • 29
  • 49
15
votes
3 answers

React native ScrollView disable one direction on condition

is it possible to scroll only to one direction? I have a function that detects the direction the user is a scroll. But I can't figure out how can I set a flag, that if the user doesn't answer the question it will not allow him to scroll right only…
15
votes
2 answers

React Native: Correct scrolling in horizontal FlatList with Item Separator

ReactNative: v0.52.0 Platform: iOS My FlatList code: this.renderPhoto(item)} …
15
votes
6 answers

React-Native: Facebook and Google Login

I am currently trying to implement Facebook and google login for a react-native app for ios and android. I must say, it is much less user-friendly than ionic for example. I have seen some libraries trying to implement this, but they all seem not to…
DaveTheAl
  • 1,995
  • 4
  • 35
  • 65