expo

since expo 34.0.0 update fonts doesn´t load anymore, do you know how can I fix it?

回眸只為那壹抹淺笑 提交于 2019-12-11 04:17:10
问题 I have expo 30 proyect and the fonts ( fontello icons ) load succesful now 3 months later I reopen the proyect before update expo and fonts does´t load even if I create a new proyect the fonts does´t (I have already changed the import from import { Font } from 'expo'; to import * as Font from 'expo-font';) here's a snack with the problem https://snack.expo.io/@emmalv/bold-banana it's curious that in expo-cli when I run the same code and print the state of loading first return false and before

Expo for Web failed to compile because of native base module

China☆狼群 提交于 2019-12-11 03:04:26
问题 I'm trying to get the "expo for web" part working for my managed expo project. I upgraded my managed expo project to expo sdk 33 so that I could also deploy my app on the web platform and ideally have it hosted from firebase. I followed official instructions from expo: Upgrading Expo SDK Walkthrough Expo CLI and SDK web support beta Using Expo for web in a expo init project on how to upgrade to SDK 33 and how to configure and enable the web platform. Expo-cli version is : '2.19.5' I'm using

Android OS back button takes me back to Expo projects screen

﹥>﹥吖頭↗ 提交于 2019-12-11 01:36:08
问题 Firstly, I have a React Native app built using Expo and utilising React Navigation for routing. I'm using a SwitchNavigator to switch between two stack navigators which represent my authorisation workflow (my screens before I've logged in) and my app workflow (the screens after I've logged in) and it looks something like this. const AppStack = createStackNavigator({ Home: HomeScreen, Second: SecondScreen, HouseDetail: HouseDetailScreen, Camera: CameraScreen} ); const AuthStack =

Problem with expo-video-player, it throws Error: setAudioModeAsync

泄露秘密 提交于 2019-12-11 00:41:23
问题 I have a problem with 'expo-video-player' package. I want to show a video through expo-video-player but when I load the component it throws an error and I don't know how to resolve it, so I need help.. I've tried change the package source code and the component props but it doesn't works Here is the code: (Example code from expo-video-player) import { Video } from 'expo' import VideoPlayer from 'expo-video-player' <VideoPlayer videoProps={{ shouldPlay: true, resizeMode: Video.RESIZE_MODE

exp init Project [11:31:26] zlib: unexpected end of file

最后都变了- 提交于 2019-12-11 00:37:08
问题 When I run exp init Locations it gives me this error: npm: 6.1.0 exp: 55.04 回答1: as @Mandan described. You could also navigate to %userprofile%/.expo/starter-app-cache folder to delete blank-1.8.0.tar.gz, and run the expo init again 回答2: This is because blank-31.0.1.tar.gz expo pakage does not downloaded properly. go to C:\Users\YourUsername\ .expo\starter-app-cache and delete "blank-31.0.1.tar.gz". After this run: expo init awsome-project. 回答3: Apparently this can happen when expo caches a

CRNA, genymotion, expo weird error

纵然是瞬间 提交于 2019-12-10 21:49:58
问题 I am using genymotion to run my React Native dev environment. When a specific component loads, I get the console.error message: there was a problem sending log messages to your development environment with a weird stack trace that uses <unknown> in place of several named functions. I narrowed the problem down to just one component in my code: class Questions extends React.Component { constructor(props){ super(props); this.state = { style: 'all', selected: ''} } render = () => { return ( <View

How to manually upload my source code to sentry?

怎甘沉沦 提交于 2019-12-10 19:35:50
问题 My app is built with expo and sentry dashboard shows me 2 errors : Discarded invalid parameter 'type' and Source code was not found for app:///crna-entry.bundle? platform=ios&dev=true&minify=false&hot=false&assetPlugin=%2FUsers%2FUser%2FDesktop%2Fpath%2Fto%2Fnode_modules%2Fexp. So when i receive errors, it's impossible to debug because i only have an uglyfied built js. Is there any way to upload the source expo source code manually. Which file should i send to sentry? Thanks 回答1: First way If

React Native Expo “AppLoading threw an unexpected error when loading” error

狂风中的少年 提交于 2019-12-10 18:56:06
问题 I have a React Native project with Expo, I installed Expo client on my Android phone. It used to work well so far. But even though I didn't change any code, I now get the following error when I scan the QR code from my phone. This error is shown on terminal and phone screen keeps blank. AppLoading threw an unexpected error when loading: value@/data/user/0/host.exp.exponent/files/33.0.0/cached-bundle-experience-%40sulun%2Fnoyz-alpha1753997165-33.0.0:1051:3370 value@/data/user/0/host.exp

Lottie animation on Expo

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 18:21:54
问题 I'm using this animation in my react native Expo app: https://www.lottiefiles.com/86-bouncy-dribbble-ball The animation runs, I can see the shadow of the ball but I can't see the ball image. The image is defined like this in the animation json file: [{"id":"image_0","w":289,"h":287,"u":"images/","p":"img_0.png"}] I put the image and the json file into the same folder. I guess Lottie can't find the image. I tried lots of different combinations for the "u" parameter but I couldn't manage to

Unable to resolve module @babel/runtime/helpers/interopRequireDefault from index.js

风流意气都作罢 提交于 2019-12-10 17:40:08
问题 I just cloned this repository: react-native-paper but when I run on the root directory: $ yarn install I get the following warnings: D:\react-native-paper (master) (react-native-paper@2.4.0) λ yarn install yarn install v1.13.0 [1/4] Resolving packages... warning Resolution field "babel-core@7.0.0-bridge.0" is incompatible with requested version "babel-core@^6.26.0" warning Resolution field "babel-core@7.0.0-bridge.0" is incompatible with requested version "babel-core@^6.26.0" warning