Questions tagged [expo]

Expo is an open-source and free platform that lets web developers build truly native apps that work across both iOS and Android by writing them once in just JavaScript. Use the Expo tag on questions about developing Expo projects and using the Expo development tools like XDE and exp.

Expo lets web developers build truly native and Web applications that work across iOS, Android and Web by writing them once in just JavaScript. It's an open source, free toolchain built on top of React Native.

Resources

14725 questions
19
votes
3 answers

How do I run an app on a real iOS device using Expo?

I am using Expo to run my application. I am able to see two options in Expo XDE: open on iOS simulator open on Android I want to run my app by directly connecting to my device. Is it possible with Expo?
Ankush Rishi
  • 2,861
  • 8
  • 27
  • 59
18
votes
1 answer

Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest APIs

I was just trying to deploy an app on google play store and got this error. How do I change my target api to 31. I am aware it needs to be changed in build.gradle file under android/ This is mine: ext { buildToolsVersion = "29.0.3" …
Alexander
  • 457
  • 1
  • 4
  • 15
18
votes
1 answer

Error: No native splash screen registered for given view controller. for react-native expo using expo-splash-screen

Unhandled promise rejection: Error: No native splash screen registered for given view controller. Call 'SplashScreen.show' for given view controller first. I get the following warning only on my ios emulator when I first launch the app. Not on my…
brados
  • 315
  • 1
  • 2
  • 9
18
votes
8 answers

Why is expo not refreshing when I save changes?

When I make changes and save them, the app in my emulator is not being refreshed; the emulator is not connected to the metro server I think. I tried to clear cache by running expo -r -c, but this didn't do any thing.
Patrick Iradukunda
  • 499
  • 1
  • 5
  • 15
18
votes
1 answer

React native (expo) web view Error net::ERR_CACHE_MISS

I am using react native(expo) and try to use web view package And i am getting this warning in console and didn't see anything on mobile screen. "sdkVersion": "36.0.0", "expo": "~36.0.0", "react-native":…
user12500983
18
votes
1 answer

Connecting an Android app to a wifi without internet access

I have an expo app that works as a companion app to an IoT device. To connect the device to the wifi, the app has to connect to the device's wifi and send it a network call containing the wifi info. Up until Android 9, this worked fine. But as I…
Matija Martic
  • 252
  • 1
  • 3
  • 11
18
votes
4 answers

Upgrade Expo CLI have unknown error --assetPlugins

I upgrade to latest Expo CLI 2.19.2 and tried upgrade my expo application using SDK 33. When I called expo start, i have a message saying: Opening DevTools in the browser... (press shift-d to disable) error: unknown option `--assetPlugins' Metro…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
18
votes
10 answers

Expo cli update not happening

I am trying to upgrade expo-cli from 2.11 to 2.18 but npm i -g expo-cli@latest still points to the old version. when I typed expo-cli -V it resulted: 2.11 ...so naturally npm i -g expo-cli@latest will grab the latest version and install it but…
oflcad
  • 505
  • 2
  • 6
  • 19
18
votes
5 answers

How to Build 64-bit native code for android using Expo CLI

I am using react-native and EXPO CLI to build the android apk file. But i cant upload to Play store. I get a warning message Warning This release is not compliant with the Google Play 64-bit requirement The following APKs or App Bundles are…
Boopathi kumar
  • 402
  • 1
  • 6
  • 16
18
votes
3 answers

Firebase - Perform Analytics from database/firestore data

I am using Firebase as my authentication and database platform in my React Native-Expo app. I have not yet decided if I will be using the realtime-database or Firestore database. I need to perform statistical analysis on daily data gathered from my…
user9410919
18
votes
1 answer

What does api.cache(true) do in Expo's babel.config.js?

This line appears in the default Expo babel.config.js, but I can't find any reference anywhere to what it does. Is there anyone who knows what this does? module.exports = function(api) { api.cache(true); return { presets:…
Slbox
  • 10,957
  • 15
  • 54
  • 106
18
votes
9 answers

31.0.0 is not a valid SDK Version. Option are 26.0.0 Unversioned

I can no longer run my app after updating expo version to 31.0.0. I needed this upgrade to do due iOS version 12 support. Thou after trying to build the Android app it is no longer working. my package.json looks as below: { "name": "myapp", …
Mizlul
  • 1
  • 7
  • 41
  • 100
18
votes
2 answers

Cannot access State inside Function

I am using React Native for my application, and at one point, I noticed that I have to type this.state.bar[this.state.foo][SOME_NUMBER] every time, within my components. This works perfectly fine, but I want to make my code cleaner by calling a…
Mrigank Pawagi
  • 892
  • 1
  • 8
  • 26
18
votes
3 answers

Open react native project in xcode

I'm sure I'm missing something simple. I have a React Native project working and I'm attempting to get it on the app stores. Following those instructions, after I have created my provisioning profile in the Apple Developer Dashboard, it says to…
smilebomb
  • 5,123
  • 8
  • 49
  • 81
17
votes
9 answers

fatal error: module map file YogaKit.modulemap not found

I am trying to build an iOS app and get this error. I have the project, target, and podfile all specifying iOS deployment target of 14.2. I am using Xcode V12.2. fatal error: module map file…
sizzle
  • 2,222
  • 2
  • 21
  • 32