expo

The Expo SDK requires Expo to run

喜欢而已 提交于 2019-12-20 04:28:07
问题 I'm running my project on expo. After running expo eject, I'm getting the following error: The Expo SDK requires Expo to run Even for a brand new project I'm getting this error and I cannot do anything with expo anymore. I run : expo init Project1 and then going inside the Project1 direcotory and run: expo start // and then click 'a' for running project on android emulator. and emulator screen shows this error. 回答1: If you have logged into the command line on your computer, log out and try

Application main has not been registered

守給你的承諾、 提交于 2019-12-19 14:03:13
问题 I have recently started to convert my react native app and running on Expo so i could test this on my actual android device. I am getting this error above. I have since then running my app using the Expo XDE. I am also running on a windows machine. The full error message is: ]1 I figured that this has something to do with my index.js, yet here it is import { AppRegistry } from 'react-native'; import App from './App'; AppRegistry.registerComponent('projectTARA', () => 'App'); 回答1: The

React Native reload page

我的未来我决定 提交于 2019-12-19 08:56:57
问题 So I have an app with an activity. The app checks for Internet connection at the beginning. If there are no Internet connection, it will show a screen with a button to refresh the page. The problem is that my API calls (Axios) is located on componentDidMount() where it's called only once after the first render. Is there any way I can reload the page so it calls componentDidMount again? I mean like total refresh. I am using EXPO btw. Any help is appreciated. Sorry there are no examples, I just

React Native: Generate .apk and .ipa using Expo

泪湿孤枕 提交于 2019-12-18 14:14:13
问题 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 Android device thanks to the docs: https://docs.expo.io/versions/v16.0.0/guides/building-standalone-apps.html When the build is over, my console shows something like Your URL is https://exp.host/@myname/myapp I then open exp.host/@myname/myapp on my device and the app shows up via the Expo client. But at

Does expo support firebase phone auth?

回眸只為那壹抹淺笑 提交于 2019-12-18 13:48:09
问题 I am trying to implement firebase phone auth for expo. I have followed many resources on internet but succeeded. Could you please let me know is it possible/available? if it is possible please share some useful resources for expo thanking you for anticipation. 回答1: I had the same problem, but I found the solution. So, how it works: We have special static "Captcha" web page, hosted on domain, that authorized on our Firebase project. It simply shows firebase.auth.RecaptchaVerifier . User

Firebase Firestore missing or insufficient permissions using Expo (React Native)

放肆的年华 提交于 2019-12-18 13:13:47
问题 I've been using FireStore for a project that works fine in the browser, but when I port the code to Expo, running on a iOS 11.2 iPhone X in the simulator, it keeps raising Error: Missing or insufficient permissions. Auth is working fine, and when I check the client in the Firestore collection object, the appropriate UID is set, and testing the same code in the browser, everything works perfectly (no permissions problem). What I'm trying to say is that I'm 95% certain that the issue is with

How to use google reverse geocoding with react native Expo?

耗尽温柔 提交于 2019-12-18 12:35:20
问题 I want to put in my application a button that when pressed return the current address of the cell phone. The latitude and longitude I am able to return correctly, and to convert this data into an address I got to the react-native-geocoder library. My current code looks like this: import React, { Component } from 'react'; import { View, Text, Button } from 'react-native'; import Geocoder from 'react-native-geocoder'; // 0.4.8 class GeolocationExample extends Component { constructor(props) {

Expo React-Native iOS Simulator not working

房东的猫 提交于 2019-12-18 12:14:28
问题 Hello I'm facing a problem with Expo React-Native. Whenever I try to launch the iOS Simulator. I get this error: Simulator is installed but is identified as 'com.apple.CoreSimulator.SimulatorTrampoline'; don't know what that is. Simulator not installed. Please visit https://developer.apple.com/xcode/download/ to download Xcode and the iOS simulator. If you already have the latest version of Xcode installed, you may have to run the command `sudo xcode-select -s /Applications/Xcode.app`.

Unable to run project on android emulator but works with Iphone

帅比萌擦擦* 提交于 2019-12-18 09:38:04
问题 I have been having an issue running my project on the android emulator, I have had several problems and currently, I am facing this: I have had several problems before getting to thhis one where I have to change classpath 'com.android.tools.build:gradle:3.3.0' and distributionUrl=https://services.gradle.org/distributions/gradle-4.10.1-all.zip but this new error still persists. If there is any additional information required to solve this please do ask. Thanks What went wrong: A problem

Fresh Detached Expo + RNFirebase not running on Android

一笑奈何 提交于 2019-12-17 20:26:33
问题 So I'm trying to start an app using the Detached Expokit and React Native Firebase (v3) I made a fresh project with exp cli, followed all the instructions at https://invertase.io/react-native-firebase/ to set up ios, and it runs fine followed all the instructions to set up on android, went through some dependency hell between the expo dependencies and firebase dependencies And now there are no more warnings, and no more errors, but when i try to run the app (either emulator or physical), it