Questions tagged [expo-web]

Expo is a set of tools and services for building, deploying, and quickly iterating on native iOS, Android, and web apps from the same codebase. Use this tag for questions that are specific to web apps.

See Getting to know Expo and Using Expo for web.

47 questions
0
votes
0 answers

apisauce on Expo Web caught TypeError: axios.create is not a function

I'm trying to create a Expo web project to get some data from a webserver using apisauce When i build for Android it works fine, but when i try to run on web its givin me this error caught TypeError: axios.create is not a function at create…
0
votes
0 answers

How to fix blank page error with expo web?

I have an expo app it is a dating app. It is working on mobile for both android and ios. But I get a blank screen when running on the web. I get some errors in the console of the browser. Console errors Here's my package.json: { "name": "app", …
0
votes
0 answers

Disable browser translation dialog in Expo web app

Is it possible to tell the browser not to translate the expo web app, as shown below? There is a HTML5 attribute (translate: MDN web docs) which allows this, but I can't get expo to apply it to the root -node. I have tried to add the html…
Flo
  • 51
  • 6
0
votes
0 answers

Expo web - Render app inside a phone mockup

Hello I am currently building an app that has a web version for some users and I am trying to render the whole app inside an iPhone mockup on web only. An example of what I want can be found here: https://i.stack.imgur.com/xpTer.png I found that I…
blouuuu
  • 454
  • 1
  • 4
  • 16
0
votes
0 answers

How can I go back from expo-web-browser

I am using the payment merchant where I need to give the return_url which will redirect the user back on the application if (initiatePaymentResponse?.data?.response?.payment_url) { const url =…
0
votes
0 answers

how to create build for web after ejecting app from expo

I have tried by expo build:web but its not working because I already ejected the app. So How can I create build for web now any idea ?. Please guide me. Thanks
0
votes
1 answer

Start playing a video at a time offset using expo-av on web

My goal is to start playing a video at a selected time offset. I am using the video component from expo-av since I want it to run on both web and device. It seems pretty straight forward by using the positionMillis props. This works well when I test…
mike
  • 113
  • 1
  • 6
0
votes
1 answer

Stop FlatList from overflowing containing View?

Edit: Snack repro: https://snack.expo.dev/hwTTY2tQm How do you make a FlatList stop expanding beyond its enclosing view and become scrollable while still taking all (legal) space in the enclosing view? So far setting height to a specific number…
Ryan Tremblay
  • 169
  • 1
  • 3
  • 12
0
votes
1 answer

How do I constrain an Expo Web or React Native Web App to Browser Window Size?

since there's no concept of page-level scrolling on iOS and Android React Native apps things work out fine. However, on React Native Web my app components expand beyond the bounds of views and cause the page itself to expand. For example, in the…
Ryan Tremblay
  • 169
  • 1
  • 3
  • 12
0
votes
0 answers

Expo Start web stuck on loading

Please help My expo react native app working fine on android. but its stuck on loading on web version when I run it for web. please help thanks.
user14877357
0
votes
0 answers

"export 'ViewPropTypes' (imported as 'RNViewPropTypes') was not found in 'react-native-web/dist/index'

I Was Getting This error - https://forums.expo.dev/t/expo-start-web-failed-to-compile-after-import-native-base/40826 I Solved This By their Solution But Now I am getting another error. this one Web Bundling complete…
user14877357
0
votes
1 answer

Expo Electron OAuth2 Login

I'm trying to built an app using Expo for multiple different Platforms, Desktop included - with Electron. Now I'm having issues continuing a logging process till the end. I'm aware Electron uses Expo React Native Web Features, but I don't understand…
Selast Lambou
  • 708
  • 12
  • 27
0
votes
1 answer

Expo web uses the wrong base uri to load assets if you use deep linking

I built a web version of my app using expo web and react-navigation, and I am serving it using Django. I managed to make everything work when I go on mywebsite.com and navigate around. However, if I load my website directly on…
Ryan Pergent
  • 4,432
  • 3
  • 36
  • 78
0
votes
1 answer

React state changes do not always work on mobile web

My example works as follows: I have a button that shows an image (via state change by dispatch from useReducer) for 400ms when clicked. After 400ms the image is hidden again and the button is visible. On the desktop browser this works quite well.…
Arbnor
  • 2,190
  • 18
  • 26
0
votes
2 answers

Storing access token with Expo web

I've recently decided to try and make a universal app with expo supporting ios, android and web altogether. I knew that there would be many hick ups along the way.. but I found the biggest problem from the start. I can see that there are few options…
Peter
  • 45
  • 1
  • 7