Questions tagged [create-react-native-app]

194 questions
81
votes
38 answers

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 code from expo app. But after scanning QR code , I am…
YaSh Chaudhary
  • 2,605
  • 8
  • 37
  • 74
49
votes
9 answers

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 Android device thanks to the docs:…
clems36
  • 922
  • 1
  • 13
  • 26
19
votes
2 answers

React Native Expo StackNavigator overlaps Notification bar

I am trying to implement navigation bar for my React Native Expo app. Here is a problem: "dependencies": { "expo": "^18.0.3", "react": "16.0.0-alpha.12", "react-native": "^0.45.1", "react-navigation": "^1.0.0-beta.11" } I don't…
Andrei
  • 42,814
  • 35
  • 154
  • 218
15
votes
8 answers

Error running adb: Error running app. Error: Activity not started, unable to resolve Intent

Hi I am trying to run 'yarn android' on my react-native project. And am running into the following error: yarn android v0.27.5 $ react-native-scripts android 10:37:45 AM: Starting packager... 10:39:34 AM: Starting Android... 10:39:37 AM: Packager…
narahan
  • 381
  • 1
  • 3
  • 9
14
votes
3 answers

differences between create-react-native-app and exp init

I found that create-react-native-app is based on expo. but when using exp-cli, it is also based on Expo. what are differences between create-react-native-app and exp init ?
Ho Yun Lee
  • 143
  • 1
  • 6
13
votes
3 answers

How to specify the minSdkVersion in react native project

I have created react native project using create-react-native-app I can see that there is a sdkVersion property in app.json, but I want to specify minSdkVersion for the app. How do I specify the minSdkVersion in react native project?
Vivek
  • 11,938
  • 19
  • 92
  • 127
12
votes
3 answers

use create-react-native-app without expo-cli

I have set up create-react-native-app as said in the react native docs. If my project name is proj, according to the docs, the commands to be run should be : create-react-native-app proj cd proj npm start But when I run create-react-native-app, I…
TheFirstMe
  • 123
  • 1
  • 1
  • 4
12
votes
1 answer

How can I get the cause of a sql error from Expo SQLite API?

Having the following code: import { SQLite } from 'expo'; const db = SQLite.openDatabase('mydb.db') db.transaction( tx => { tx.executeSql('insert into invalidTable values (?,?)', [1,2], null, (transact, err) => { //I can't find error…
Edumelzer
  • 1,066
  • 1
  • 11
  • 22
10
votes
10 answers

Hot Reload not working in react-native android

I tried it on windows 10 and Ubuntu 16.04. In both cases the Hot Reload only works with changes in jsx, but not, when I change a variabel or function or something else in javascript. The Hot Reload is enabled. Live reload is disabled. When I save a…
fricko
  • 243
  • 1
  • 2
  • 12
10
votes
4 answers

How can I generate apk file for create-react-native-app (using EXPO.IO component)

I setup my app using create-react-native and I used expo's Video component in my app. How can I keep this video component and generate the apk file? Correct me if I'm wrong: to my understanding npm run eject prevents you from using expo components…
mdash1
  • 1,115
  • 4
  • 17
  • 31
8
votes
1 answer

Expo RN: Detach vs Eject

I currently have an app built in React Native using Expo (create-react-native-app) that needs some native code. As I understand one has two options for dropping down to pure react native, ejecting and detaching. Seeing that I have already have used…
jschuss
  • 645
  • 1
  • 8
  • 21
8
votes
3 answers

How can I use facebook login with Create-react-native-app

I try to find a way to use Facebook login with Create-react-native-app for both Android and IOS. Is that possible? All this seem pretty new...
mb3
  • 101
  • 3
8
votes
2 answers

Any way to use Firebase google authentication in expo (create-react-native-app) without "eject" project

As the question, for Login with google in firebase need to set google-service but if you create new react-native project with create-react-native-app there will have no "android" or "ios" folder (accept used "eject") so, anyone have a suggestion for…
7
votes
4 answers

Create React Native App. - Plugin/Preset files are not allowed to export objects, only functions

Need some help, I'm getting a weird error out of left field that I have not been able to debug. This project was bundling successfully until yesterday after I setup my react native project on another Mac. I'm wondering if it's from versioning of npm…
hancho
  • 1,345
  • 3
  • 19
  • 39
6
votes
1 answer

AsyncStorage vs Expo.SQLite

i am working on creating and app that will download, upload, store many images. i am trying to see how best to manage the data for performance. i am using Redux to store the state of my app and i use redux-persist to store the state in…
X0r0N
  • 1,816
  • 6
  • 29
  • 50
1
2 3
12 13