Questions tagged [create-react-native-app]

194 questions
1
vote
1 answer

How to load custom fonts using CRNA and Expo

This is my File Structure in App.js import React, { Component } from 'react'; import { Font } from 'expo'; import Index from './src/index'; export default class App extends Component { //checking state for if font is loaded or not. state = { …
1
vote
0 answers

Expo with create-react-native-app; inconsistent behaviour

I work on a project started through CRNA (create-react-native-app) and I usually do yarn start Open project on Expo XDE Device > Open on Android (which starts it in my Android simulator (NoxPlayer) However, since 2 days ago, it's been on the…
Sin River
  • 11
  • 4
1
vote
1 answer

React-Native-Video does not work with create-react-native-app?

I have a react-native project that I created using create-react-native-app. I would like to play videos in this app. I tried react-native-video but it gave me the error TypeError: undefined is not an object (evaluating…
Connor W
  • 101
  • 8
1
vote
1 answer

What to use in place of AppRegistry in Create React Native app without ejecting

I am reading a tutorial written without create-react-native app and it has used exponent .. The code that I see in the tutorial is: let React = require('react-native') let { AppRegistry, Component,Text} = React; class…
1
vote
3 answers

@expo/vector-icons not loaded when running from subfolder

I'm trying to use create-react-native-app with expo in a monorepo setup. When I start the app from a subfolder app/ and import @expo/vector-icons I get an error that the font family is missing. "fontFamily" 'material' is not a system font and has…
Amos Yuen
  • 1,420
  • 1
  • 9
  • 19
1
vote
2 answers

Can Expo be used with Firebase cloud messaging at all?

Can I use CRNA or Expo with Firebase Cloud Messaging? If so, how? The Firebase JS lib ? Looks like I can but how to make push notification work? or ExpoKit with Firebase Android/IOS lib? Thanks!
1
vote
2 answers

Expo: Does each user working on/building the app apk need a separate Keystore or use the same one?

It's my first time building an expo app and I'm just now getting to the build/publish process where Expo asks about generating or uploading a Keystore. My coworker has built and published the app once already so my question is, do I need to use the…
zdixon
  • 339
  • 4
  • 10
1
vote
2 answers

How to pass values from one component to another in react-native android

I'm new in react-native android, I wanna know How to pass values from one component to another in react-native android, I just wanna to know 2 things, How to pass data How to retrieve data give any reference or link which is understood easy.thanks…
Tom C
  • 11
  • 2
  • 5
1
vote
1 answer

Starting and publishing a React Native project with CRNA

I am really new to React Native, but I am familiar with React. I am interested in hearing the best ways of creating a new React-Native project and ways of publishing it to the app and play store, as well as pros and cons of each method. I have…
Matt
  • 137
  • 2
  • 14
1
vote
2 answers

Knex.js on create-react-native-app

I am trying to use Knex.js (http://knexjs.org/) to manage the SQLite database that comes with Expo (https://docs.expo.io/versions/latest/sdk/sqlite.html.) When I import knex, it crashes because of some missing node.js packages like "events",…
X0r0N
  • 1,816
  • 6
  • 29
  • 50
1
vote
2 answers

create react native app AWS S3 getObject use file

my RN app is created with create react native app. Now i want to display some images of my aws s3 bucket. So this works fine, if i make the images public and display them with: But of course the images should be…
1
vote
2 answers

Unmet peer dependencies for create-react-native-app

I'm trying React Native out using create-react-native-app version 1.0.0. Upon trying to create a new project, I get the following errors and warnings in the middle of the logs: ├── UNMET PEER DEPENDENCY react@^0.14.0 || ^15.0.0-0 ||…
user8370684
1
vote
1 answer

Is it possible to integrate GetStream.io with a React Native app built with Create React Native App without ejecting?

I'm trying to use the client side functionality of getstream.io (specifically the feed pull and live updates) to build a stream on a native app built with react-native. When I try to initialize a client in the javascript code using a token passed…
1
vote
2 answers

How to get pinned location name on map?

I have created an android app with CRNA, I can get the current location of the user by Expo's location API. But I can't figure out how to get the city name of a pinned location? This is my code so far: class Map extends Component { …
user5899651
1
vote
0 answers

Remove unnecessary files in React Native (CRNA projects)

unnecessary files and folders This is CRNA project. Can i disable files and folders like metro-bundler, react-native-packager-cache, hastle-map-react-native-packager? That files and folder appear by itself
neman
  • 196
  • 1
  • 10