Questions tagged [exponentjs]

Expo is a free and open source toolchain built around React Native to help you build native iOS and Android projects using JavaScript and React.

Site: https://expo.io/

Famous answer: What is the difference between Expo and React Native?

27 questions
337
votes
11 answers

What is the difference between Expo and React Native?

From the Expo website Expo lets web developers build truly native apps that work across both iOS and Android by writing them once in just JavaScript. Isn't this what React Native does? What's the difference?
Aurora
  • 3,395
  • 2
  • 10
  • 3
42
votes
6 answers

How can I upload a photo with Expo?

I'm making an app with Expo and want to let the user take a photo or pick one from their camera roll and upload it to my server. How do I do this?
ide
  • 19,942
  • 5
  • 64
  • 106
29
votes
2 answers

react native link using expo?

How can I use react-native link or How can I link a third party library manually in IOS and Android using exponent. I was trying to link react-native-image-crop-picker but unable to use in exponent.
Ankush Rishi
  • 2,861
  • 8
  • 27
  • 59
16
votes
5 answers

NativeBase + Exponent Header

I'm using NativeBase with Exponent. The Header goes beneath the phone's StatusBar. You can see this in the NativeBase demo that Exponent released. Does anyone have a fix for this?
Molly Harper
  • 2,363
  • 3
  • 26
  • 35
12
votes
10 answers

White flickering when transitioning to a new screen and the background is a dark color?

I am experiencing this when transitioning to one screen to another with two different navigators: ex-navigation and the new one React Navigation . There is a white flickering for a second (or half a second). Looking for a solution I found that other…
8
votes
1 answer

Can you add libraries with native dependencies to an Expo react native project?

Can you use libraries like https://github.com/tolu360/react-native-google-places in an Expo project? I assume any npm library is ok to add, but what about libraries like this google places picker that requires post install steps to link the native…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
6
votes
1 answer

ExNavigation : how to pass props to all router components?

In the following code, what's the best way to pass the database variable as props to all the components served by the Router/NavigationProvider? import { createRouter, NavigationProvider, StackNavigation, } from…
cmrichards
  • 1,725
  • 1
  • 19
  • 28
5
votes
2 answers

Forcing refresh of a published Expo app

could somebody explain how the Expo client decides whether to refresh my app or use the current version cached (~already downloaded) in the client? When I'm pushing out a new version with exp push, the Expo app (on Android) doesn't seem to pick it…
stvn
  • 51
  • 1
  • 6
5
votes
1 answer

Expo XDE cannot run application throws Tunnel packager not found

Has anyone encountered this error: Tunnel packager.yu-tyd.my-app.exp.direct not found My app is just simple hello world import Expo from 'expo' import React from 'react' import { Text } from 'react-native' const App = () => ( Hello…
JohnnyQ
  • 4,839
  • 6
  • 47
  • 65
3
votes
3 answers

Expo fonts in global stylesheet

I am using Expo and need to use custom fonts in my global stylesheet. Expo documents this, however it is not relevant in my case since componentDidMount() only executes within a class: class App extends React.Component { componentDidMount() { …
Molly Harper
  • 2,363
  • 3
  • 26
  • 35
3
votes
2 answers

Font loading error when using the ShoutemUI/TextInput component in a Exponent react-native framework

I'm trying to use shoutem/ui with exponent and I’m getting an error using the shoutem/ui textinput component, where I get the following error message fontFamily Rubik is not a system font and has not been loaded through…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
3
votes
1 answer

How to clear up unmet peer dependency errors in an exponent project

I started with a basic exponent starter project and followed their tutorial to add an apollo client and ended up with a bunch of peer depenendency issues. How can I fix it - do I need to pin certain versions of apollo client? What is the…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
3
votes
1 answer

Using ex-navigation with Exponent js, how do I clear the StackNavigation of a tab when the user navigates away?

I'm using ex-navigation with Exponent and React Native. I have a multi-tab TabNavigation, where each tab has its own StackNavigation element inside. When the user changes tabs in the TabNavigation, I'd like to reset the stack of the previous tab. I…
Travis G.
  • 218
  • 2
  • 9
2
votes
1 answer

Expo Image editor from ImagePicker API

Exponents ImagePicker API lets you pick an image from your library. After picking an image it opens the image in an image editor that lets you edit the image. Is there any way to skip the image picking part and directly go to the editor screen? Like…
Sisir
  • 218
  • 1
  • 12
2
votes
1 answer

console.error in react-native throws red screen even when __DEV__ is false

I'm building react-native app with Exponent and do some logging with console.error e.g. when network request fails etc. While it's helpful in development to see this red screen with error on simulator or real device, I'm getting this too when…
Michal Ostruszka
  • 2,089
  • 2
  • 20
  • 23
1
2