Questions tagged [create-react-native-app]

194 questions
0
votes
1 answer

Create-React-Native-App - using native modules

I have a question related to using native modules with react-native apps. As described here it appears that application created with CRNA is not supposed to be used with native modules. Is it still true? Recently I was able to integrate @shoutem/ui…
0
votes
1 answer

React-native-video without npm eject

I'm fairly new to React Native development, and I'm trying to include a video player in my mobile app. I created the application with create-react-native-app and have been viewing it in Expo by running npm start. However, when I try to use packages…
user3344578
0
votes
1 answer

Using redux-connected component as screen in StackNavigator

I'm creating an react native app using create-react-native-app, react-navigation and react-redux. I'm trying to add a redux-connected component as a screen into a nested StackNavigator (though the nesting seems to not make a difference, it doesn't…
J. Brandes
  • 357
  • 1
  • 3
  • 12
0
votes
1 answer

How do I use the `fetch()` function in React Native to retrieve posts from WordPress REST API?

I'm using the create-react-app to build an React Native app that would show a list posts from WordPress. I have a problem fetching the data from WordPress. I think I'm not fully understanding how the fetch() function works. This is what I have at…
0
votes
1 answer

CRNA project stuck at "Starting packager..."

I can't start any CRNA project because it gets stuck at "Starting packager", I tried many projects but the problem still remains. It always gets stuck at "Starting packager..." I'm using react-native@0.46.4 and expo@19.0.1 on ubuntu 16.04 PS: I even…
Atef
  • 1,294
  • 1
  • 14
  • 27
0
votes
1 answer

create-react-native npm start hangs

After a successful create-react-native I tried to initialize the project with npm start. Even after 2 hours it doesn't finish loading. With the basic example is has finished a couple of time after waiting, but when I added the code with something…
0
votes
2 answers

Create React Native App ScrollView Example Errors

I created CRNA app following CreateNative GetStarted steps by issuing in terminal npm install -g create-react-native-app This creates app AwesomeProject and inside is App.js file which is the app. I replace the content of this file with the…
pixel
  • 9,653
  • 16
  • 82
  • 149
0
votes
2 answers

Login with google with create-react-native-app and firebase (using exponent)

By this code. googleAuthenticate = (token) => { const provider = firebase.auth.GoogleAuthProvider(); const credential = provider.credential(token) return firebase.auth().signInWithCredential(credential) } gglogin = async () => { const LogInResult…
0
votes
2 answers

undefined is not an object (evaluating 'this.props.navigation.navigate') (common ques) (CRNA)

I am using CRNA v0.44 . I am making a two screen signup . I am on 1st screen ,now I want to goto second screen using react-navigation. But getting error: undefined is not an object (evaluating 'this.props.navigation.navigate') I have explored the…
0
votes
1 answer

create-react-native-app / expo with Relay Modern

Can we use Relay Modern with Expo? In the docs at https://docs.expo.io/versions/v17.0.0/guides/using-graphql.html, only Apollo client is mentioned.
Nikhil Agarwal
  • 529
  • 1
  • 4
  • 16
0
votes
0 answers

React Native, TypeError: undefined is not an object (evaluating '_configProvider.remoteModuleConfig')

Create a react-native project using create-react-native-app and ejected without any change. After that, running the command yarn run android generates a proper bundle and launches the app on my phone connected via USB. However a red screen with the…
rafayepes
  • 1
  • 1
  • 2
0
votes
1 answer

Error when using Relay + React Native (create-react-native-app): GraphQL validation error `Unknown Type "Viewer".`

I'm trying to set up a RN app (that was created with create-react-native-app) and connect it with Relay. I've got the following setup in my App.js already: import { StyleSheet, Text, View } from 'react-native' import Relay, { Route, …
nburk
  • 22,409
  • 18
  • 87
  • 132
-1
votes
1 answer

Is there a way to make a woocommerce plugin work offline

I've installed a woocommerce based plugin(woocommerce point of sale) and i want the logged in user to place an order even if there's no internet connection, and then the order will automatically be synced in once the internet connection is back.
-2
votes
1 answer

non-static method loadUrl(String) cannot be referenced from a static context

WebView.loadUrl(additionalData.optString("targeturl")); how to debug error non-static method loadUrl(String) cannot be referenced from a static context
1 2 3
12
13