Skip to main content

Questions tagged [create-react-native-app]

The tag has no usage guidance.

create-react-native-app
Filter by
Sorted by
Tagged with
85 votes
39 answers
107k views

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 ...
YaSh Chaudhary's user avatar
50 votes
10 answers
168k views

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 ...
clems36's user avatar
  • 932
19 votes
2 answers
8k views

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", "...
Andrei's user avatar
  • 43.9k
17 votes
8 answers
15k views

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:...
narahan's user avatar
  • 401
15 votes
3 answers
22k views

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 ...
Vivek's user avatar
  • 12.8k
14 votes
3 answers
11k views

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's user avatar
13 votes
0 answers
2k views

android sdk version not found in react-native-community/cli doctor

I ran npx @react-native-community/cli doctor, and I encountered the following error: capture of doctor log I'm seeing an error related to the Android SDK, where it is looking for a version called .b33....
booboo4055's user avatar
12 votes
3 answers
42k views

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 ...
TheFirstMe's user avatar
12 votes
1 answer
3k views

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, (...
Edumelzer's user avatar
  • 1,076
10 votes
10 answers
34k views

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 ...
fricko's user avatar
  • 243
10 votes
4 answers
15k views

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 ...
mdash1's user avatar
  • 1,115
8 votes
2 answers
10k views

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 (...
Noer Nova's user avatar
  • 233
8 votes
3 answers
2k views

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's user avatar
  • 101
8 votes
1 answer
4k views

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 ...
jschuss's user avatar
  • 645
7 votes
4 answers
7k views

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 ...
hancho's user avatar
  • 1,407
6 votes
4 answers
16k views

StatusBar color in React Native

How can I change background color of StatusBar component from react-native, without editing Android specific files? Docs says, that I can use backgroundColor property. But it fails. barStyle ...
Maxim Romanyuk's user avatar
6 votes
1 answer
3k views

FSEvents error when running create-react-native-app tests

I am getting the following errors when running yarn run test on a create-react-native-app: $ yarn run test yarn run v1.0.1 $ node node_modules/jest/bin/jest.js --watch 2017-09-13 14:53 node[2839] (...
Le Moi's user avatar
  • 1,025
6 votes
4 answers
3k views

Using Ignite with create-react-native-app

In theory, it seems you should be able to use Ignite and its boilerplates with create-react-native-app by executing: ignite attach ignite add ir-boilerplate And then copying the boilerplate ...
Jacob Ensor's user avatar
6 votes
2 answers
5k views

expo / react Native and SECRET API KEYS

I am quite new to expo and react-native (create-react-native-app) and I am facing an issue where after many research I am seeing the problem but not the solution. I developped my app which is supposed ...
Ivo's user avatar
  • 2,460
6 votes
1 answer
3k views

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 ...
X0r0N's user avatar
  • 1,936
5 votes
1 answer
8k views

Unable to connect to expo xde using expo client on local network

I need help about expo xde. After creating project, when I scan QR Code it is giving me following error: there was a problem loading the experience. It looks like you may be using a LAN url. Make ...
Saad Mehmood's user avatar
5 votes
4 answers
12k views

How can I do Signature Capture in React Native?

I'm trying to understand how I can do a signature capture in React Native. My App is created with create-react-native-app and Expo and I'd prefer to not have to eject the app to get this functionality ...
blueether's user avatar
  • 3,866
5 votes
2 answers
7k views

React Native: bundling failed - Unable to resolve module `AccessibilityInfo`

error: bundling failed: Error: Unable to resolve module AccessibilityInfo from D:\MyApp\node_modules\react-native\Libraries\react-native\react-native-implementation.js: Module AccessibilityInfo does ...
Mahdi Bashirpour's user avatar
5 votes
2 answers
1k views

create-react-native-app displays new warnings

Creating a new app with create-react-native-app is now generating new warnings. Is there anything I need to do to correct the warnings? For instance, how would I update the components listed: ...
DCR's user avatar
  • 15.4k
5 votes
3 answers
3k views

React - Native Navigation Drawer Navigation Nested Navigation

Currently in the react-native app that I'm building, I have a Drawer Navigator that includes two screens. For navigation, I am using react-navigation. https://reactnavigation.org/docs/intro/ The ...
Kim Seyun's user avatar
5 votes
0 answers
2k views

How do i setup universal linking in a react native project that uses expo?

I have followed the tutorial on expo's website to set up deep linking. What I have enables me to Share content from my app click a link in the message Get redirected to the content in my ...
Efe Imoloame's user avatar
4 votes
2 answers
9k views

Host Expo app on external network?

I am writing an app with create-react-native-app (CRNA) for a company. Eventually, it might reach production, but for research reasons I need a working prototype that I can deploy to coworkers phones ...
entity's user avatar
  • 45
4 votes
2 answers
4k views

Recomended way to create React-Native-for-Web app?

I want to create a React web app that may or may not become a native app, and for that I'd like to develop it using React Native for Web. However, I'm not sure what is the best course of action, to ...
Pablo Barría Urenda's user avatar
4 votes
1 answer
2k views

intellij doesn't recognize babelrc alias path when it import file included in that path- warning module is not install

This is my babelrc file. installed module-resolver and declared root and aliases. actually this do works!! but underline annoying me... please click images below I cannot post images cause I'm new ...
sunhee kyung's user avatar
4 votes
1 answer
4k views

creating new react native app Received malformed response from registry

I try to create new react native app but after running create-react-native-app I get these errors: create-react-native-app tuts2 Creating a new React Native app in /mnt/f/try/react-native/tuts2. ...
MBehtemam's user avatar
  • 7,915
4 votes
0 answers
138 views

Why `npx react-native init` command creates typescript project? [duplicate]

Recently react-native's version got updated and when I try to create new project using npx react-native init MyProject command it generates project in TypeScript by default. How do I create it in ...
Gursahb Webcyst's user avatar
4 votes
1 answer
461 views

`react-native init` vs `create-react-native-app` and then ejecting?

Let me preface this by saying that I am NOT asking about the difference between CRNA and react-native. I am wondering, that if I use react-native init from the start instead of using create-react-...
Ayush Gupta's user avatar
  • 9,095
4 votes
0 answers
210 views

How to fix red error screen unsanitizedScriptURLString = (null) when running react-native in Xcode

I get this error when I run react-native in Xcode, IOS simulator. I am using code sample from RNTester. I am having a problem testing this code sample.
Nova's user avatar
  • 43
4 votes
1 answer
2k views

Getting stack data from Error Objects in React Native - Expo - CRNA

I would like to be able to get the stack data (fileName and lineNumber) from an Error object in React Native. If I run something like this: const err = new Error('Message'); console.log(err); I get ...
Sho Ya's user avatar
  • 41
3 votes
1 answer
4k views

npx pod-install error. Aborting run and An unexpected error was encountered

When I successfully installed create-react-native-app without getting an error, This warning showed up and when I type that, the terminal gave me an error or warning like that: An unexpected error was ...
Oğuzhan Atalay's user avatar
3 votes
1 answer
864 views

Test Jest React-Native Expo CRNA with Redux not ejected

How to get all tests working for Components, Redux Actions and Reducers for a Create React Native App (CRNA) using Expo (default) while not ejected? Also uses Axios, Redux-Thunk async actions and ...
Thomas Hagström's user avatar
3 votes
1 answer
2k views

Not receiving local scheduled notifications on iOS

My CRNA (Expo) app schedules local notifications for event reminders. The notifications are scheduled and received perfectly on Android, but not iOS. I've created a reduced test case: https://github....
Matt Stone's user avatar
  • 3,841
3 votes
2 answers
3k views

How to develop Create React Native App without a network - using USB only

I would like to develop an app in Create React Native App in the environment where connecting from the Android device to the development server is not possible. I have installed Android development ...
ps-aux's user avatar
  • 12k
3 votes
2 answers
2k views

WebStorm debugging create-react-native-app

What should I set in Run Debug Configuration in WebStorm to debug a app created by create-react-native-app? I'm at a loss on how to debug since it doesn't use ~/.node_modules/lib/node_modules/react-...
RedGiant's user avatar
  • 4,714
3 votes
0 answers
2k views

How to specified compileSdkVersion to build.gradle

As soon as I opened a project created through 'Create React Native App' with VS Code, the following error occurred: The supplied phased action failed with an exception. A problem occurred configuring ...
Mason's user avatar
  • 197
3 votes
1 answer
603 views

Getting syntax error for create a new project using create-react-native-app

When i am trying to create a new project using create-react-native-app, i am getting a weird syntax error. Any leads would be appreciated. Thank you **create-react-native-app my-react-app** /usr/...
shashank's user avatar
  • 101
3 votes
1 answer
2k views

Resolving dependency conflicts with Expo and React Native

I created a fresh app with create-react-native-app, and immediately updated the Expo SDK to 29.0.0 using these instructions. One of the instructions is to set "react-native": "https://...
mikegee's user avatar
  • 73
3 votes
1 answer
1k views

Firebase Firestore: Could not reach Firestore backend (Android only)

I'm building a react-native app using Create React Native App. For the backend it uses Firebase Firestore. The app works fine on iOS but fails with the following error on Android (both with simulator ...
grigy's user avatar
  • 6,776
3 votes
2 answers
2k views

NativeModules not included in ReactNative

I just created a new application with create-react-native-app and I detached it to be able to make a native module. Then, I created SensorManagerPackage.java next to MainApplication.java containing ...
Jeremie's user avatar
  • 379
3 votes
0 answers
505 views

Unable to start react native app

Guys I am Stuck here I have downgrade both my node and npm in order to run the application currently my node version is 8.4.0 and npm is 4.6.1 Steps I did are create-react-native-app SampleApp cd ...
Purushotham Kumar's user avatar
3 votes
2 answers
6k views

npm can't find dependencies for some react-native modules

I'm creating a react native app using create-react-native-app npm create-react-native-app I updated react-native version to 0.44.0, which requires to update react version to 16.0.0-alpha.6 This is ...
hixhix's user avatar
  • 771
3 votes
2 answers
4k views

Install react-native app on android

How can I install react-native app on my android device locally, without publishing anything to Play Store. The app was created with create-react-native-app command?
Filip Egeric's user avatar
2 votes
3 answers
2k views

Live Reload, Hot Reload, and Remote Debugging all unavailable

Why is Live Reload, Hot Reload, and Remote Debugger all unavailable? I've tried Reloading JS Bundle Restarting the simulator Restarting packager Restarting packager and clearing cache Resetting the ...
blueether's user avatar
  • 3,866
2 votes
2 answers
12k views

yarn run ios runs the simulator but the app icon is not displayed

I have just started to learn ReactNative because I want to build mobile apps. For that purpose I use my Mac with installed yarn, create-react-native-app and Xcode. When I run the command: sudo yarn ...
Pavel Tashev's user avatar
2 votes
2 answers
2k views

React-Native -Elements Avatar not rendering and showing only gray background even though the image path is correct

I am trying to render the avatar in my listItem in my React_Native Application but the image is not rendering even though my image URI path is correct and it's only giving the gray background. Here is ...
Badal S's user avatar
  • 567