Questions tagged [create-react-native-app]

194 questions
0
votes
0 answers

react-navigation Customize component produced by TabNavigator

Using react-navigation, in order to achieve this: I am nesting TabNavigator inside a StackNavigator. Code as follow: const HomeTabs = TabNavigator( { Portfolio: { screen: PortfolioScreen }, Holding: { screen: HoldingScreen } }, { …
0
votes
1 answer

eslint with yarn and create-react-native-app

Has anyone made eslint work with create-react-native-app in vscode on Windows 10? It is so unstable it's making my skin itch! Latest npm doesn't work with create-react-native-app so I installed yarn. Now I can create an app. But I have to do this…
0
votes
0 answers

react-native run-android issue on Windows 10

I've developed an app using Create-React-Native-App and usually would test the work using 'npm run android' where Expo client is installed on my device which would load the app once my laptop and mobile is on same WiFi network. When I used…
rohitpaniker
  • 695
  • 1
  • 7
  • 25
0
votes
0 answers

adb server version (39) doesn't match this client (36); killing

I was trying to run react-native application (Created using create-react-native-app) on Genymotion in my Ubuntu PC. When I run npm run android I'm getting this error, could not install *smartsocket* listener: Address already in use ADB server didn't…
0
votes
1 answer

Create React Native App run on device

Okay So I'm extremely confused on how this all works... I want to run my app on my device and not through Expo. So I'm reading the Facebook documentation and told me to open up my ios directory and open up the xcode file. While I proceeded to look…
0
votes
1 answer

CRNA/Expo and iOS - how do i create a build signed with a Developer certificate?

We're looking to run UI Automation on our app generated with CRNA using Appium. I am able to generate an Enterprise Distribution build via the CRNA CLI but not a Developer build. Is there a way to do this with the built-in CLI or a custom script? …
Android Noob
  • 3,271
  • 4
  • 34
  • 60
0
votes
1 answer

include native lib into CRNA app

Hi I am tried to work with React Native Map components with my application created by CRNA. so it is possible to include React Native Map components and work with API like MapView
0
votes
1 answer

Upgrading a project from react-native to create-react-native-app?

I'm trying to use create-react-native-app as per the documentation with an example project that was built using instructions for react-native. In terms of translating from one to the other what are the steps involved? Edit: So i can run the app…
denden
  • 1,309
  • 1
  • 14
  • 23
0
votes
1 answer

Create React Native App Change iOS Device

I am trying to launch a react native app, created with create-react-native-app, however I do not want it to launch in the iPhone 6. How can I change the device? All docs I can find give advice on apps created with react-native init. npm run ios --…
Harry Blue
  • 4,202
  • 10
  • 39
  • 78
0
votes
2 answers

Different app versions on iOS and Android - React Native (CRNA) with Expo

Is it possible to have two different app versions (one for iOS and one for Android) within the same codebase in a React Native (CRNA) app using Expo? There is obviously only 1 app.json as follows: { "expo": { "name": "MyApp", "icon":…
dk_french032
  • 638
  • 1
  • 7
  • 22
0
votes
1 answer

How to run specific iPhone version with create-react-native-app?

Based on How to change the default Xcode iphone simulator when testing in the terminal?, I'd expect something like yarn run ios --simulator="iPhone 8" to work but it doesn't. I'm using "react-native-scripts": "1.5.0".
Max Heinritz
  • 397
  • 2
  • 11
0
votes
1 answer

Error in default export React Native using CRNA/Expo?

Now this might be sound silly question, but this happened to me twice. It was working before perfectly but after I renamed the file, it gives me error Element type is invalid expected a string(for built-in components) or a class/function (for…
deadcoder0904
  • 7,232
  • 12
  • 66
  • 163
0
votes
1 answer

create-react-native-app (with expo) takes 16 seconds to update on each save. very slow workflow

Currently the official Getting started of react native is using crna (create-react-native-app) which is bundled with expo. Although I LOVE expo features, I'm trying to run a simple example and the update time on each save takes 16 seconds. 16…
Ajar
  • 1,051
  • 3
  • 13
  • 29
0
votes
1 answer

Cannot run create-react-native-app

I'm trying to get started with react native, so I followed the "get started guide". I installed create-react-native-app without a problem, but when I try to create a project, here is what I get : npm ERR! Unexpected token ▼ in JSON at position 0…
aName
  • 2,751
  • 3
  • 32
  • 61
0
votes
2 answers

Can't run React Native official example

Here's the code I copied from React's Native website that should render a text input with some formatting features: import React, { Component } from 'react'; import { AppRegistry, Text, TextInput, View } from 'react-native'; export default class…
valk
  • 9,363
  • 12
  • 59
  • 79
1 2 3
12
13