Questions tagged [create-react-native-app]
194 questions
6
votes
1 answer
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] (FSEvents.framework) FSEventStreamStart:…

Le Moi
- 975
- 2
- 15
- 41
6
votes
4 answers
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 application code into the project directory.
Now that…

Jacob Ensor
- 335
- 3
- 12
6
votes
4 answers
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 property, setBarStyle && setBackgroundColor static…

Maxim Romanyuk
- 291
- 2
- 3
- 11
5
votes
2 answers
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 to be only frontend, no need for database or…

Ivo
- 2,308
- 1
- 13
- 28
5
votes
2 answers
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 not exist in the Haste module map

Mahdi Bashirpour
- 17,147
- 12
- 117
- 144
5
votes
2 answers
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:
ExpoRootComponent, RootErrorBoundary, Text, View
here…

DCR
- 14,737
- 12
- 52
- 115
5
votes
3 answers
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 to work.
Would it be possible to wrap something…

blueether
- 3,666
- 4
- 26
- 32
5
votes
1 answer
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 sure your device is on same network as server or try…

Saad Mehmood
- 691
- 1
- 7
- 19
5
votes
0 answers
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 app
The problem is that if the app is installed, the…

Efe Imoloame
- 99
- 11
5
votes
3 answers
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 code is the following,
import { DrawerNavigator }…

Kim Seyun
- 51
- 1
- 4
4
votes
0 answers
Why `npx react-native init` command creates typescript project?
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 JavaScript?
I tried making project with:-
npx…

Gursahb Webcyst
- 93
- 8
4
votes
1 answer
`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-native-app and then ejecting, what will the…

Ayush Gupta
- 8,716
- 8
- 59
- 92
4
votes
1 answer
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 some helpful output in my console like…

Sho Ya
- 41
- 4
4
votes
0 answers
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
- 43
- 6
4
votes
1 answer
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 here.
[https://i.stack.imgur.com/ZzN5O.png]
warning…

sunhee kyung
- 69
- 7