All Questions

Tagged with
Filter by
Sorted by
Tagged with
295votes
10answers
124kviews

What is the difference between Expo and React Native?

From the Expo website Expo lets web developers build truly native apps that work across both iOS and Android by writing them once in just JavaScript. Isn't this what React Native does? What's the ...
user avatar
  • 2,975
273votes
31answers
313kviews

Hide header in stack navigator React navigation

I'm trying to switch screens using both stack and tab navigator. const MainNavigation = StackNavigator({ otp: { screen: OTPlogin }, otpverify: { screen: OTPverification}, ...
user avatar
  • 2,931
139votes
7answers
94kviews

Cannot add task 'wrapper' as a task with that name already exists

When installing 'react-native init AwesomeProject' I get this error when I run react-native run-android: Could not determine java version from '11.0.1'. A quick google suggests I need to update the ...
user avatar
  • 1,411
90votes
3answers
47kviews

Warning : Failed child context type: Invalid child context 'virtualizedCell.cellKey' of type 'number' supplied to 'CellRenderer', expected 'string'

I updgraded from react 16.2 -> 16.3-alpha-1 and react-native 0.52->0.54 and I get the warning above in the simulator.
user avatar
  • 4,607
81votes
4answers
121kviews

How can I clean (reset cache) of React Native using Expo. Not sure if it is cache issue

I am building a simple React Native app with create-react-native-app using only react-navigation and base-64(base 64 encode/decode) as dependencies. Over time starting the app became slower and now ...
user avatar
69votes
12answers
89kviews

React Native iOS and Android folders not present

I'm new to react native, and I've been having some trouble understanding the folder structure of the app which should supposedly be present in the project folder on creation. Basically, when creating ...
user avatar
64votes
1answer
47kviews

What is the difference between Expo CLI and React Native CLI? [duplicate]

React Native provides two way to create Project. First: npm install -g expo-cli Second: npm install -g react-native-cli so what is different between them and what should be used if we create ...
user avatar
60votes
36answers
52kviews

Network Response Time Out Error (create-react-native-app) (expo)

I am trying to run create-react-native-app on expo app in android. Firstly ,I created the project by writing command create-react-native-app test then I executed npm start then scanned the qr ...
user avatar
58votes
9answers
76kviews

Implement pull to refresh FlatList

please help me out to implement pull to refresh on my app, I'm kinda new to react native, thanks. I don't know how to handle onRefresh and refreshing. class HomeScreen extends Component { state = { ...
user avatar
  • 651
53votes
12answers
26kviews

Expo: Change default IOS simulator

I am new in expo and react-native Whenever i run the app from IOS simulator (inside expo) it always boots up the IphoneX. If i need to change the simulator,I have to open it through Xcode, is there ...
user avatar
49votes
7answers
106kviews

How do you format a number to currency when using React native Expo?

How do I take a number like 10000 and have it output as $10,000.00? I even had a problem with String.format(...) with a Not a function error. I followed numerous articles, all incomplete and none ...
user avatar
  • 1,017
44votes
12answers
18kviews

react native downloading javascript bundle 100% stuck

when I am trying to execute npm start it works fine, but when i try to run my application by expo the process goes till 100% and after that nothing happens. I am not getting what is exact issue over ...
user avatar
  • 452
43votes
3answers
48kviews

Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager [closed]

Implementing React Navigate in the project installing the package npm install @react-navigation/native @react-navigation/stack shows the following error. Can anyone help me with this issue?
user avatar
41votes
4answers
109kviews

React Native: Generate .apk and .ipa using Expo

I'm trying to generate a .ipa and a .apk file for my React Native app using Expo & Create React Native App. I successfully built the app and was able to get it to run on both an iOS & an ...
user avatar
  • 832
40votes
10answers
48kviews

How to reduce the size of an expo/react-native app on Android

I am developing a small dictionary app by using react native with expo. As I am compiling to Apk file. The size goes up to 30mb and after having installed on a device, it goes to 80mb. Is this ...
user avatar
  • 638

15 30 50 per page
1
2 3 4 5
645