Skip to main content

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.

Filter by
Sorted by
Tagged with
20 votes
1 answer
13k views

How do I create a diagonal border in React Native?

I'm working on building a React Native app based on designs from our designer. The design has several places where there are buttons or shapes with one diagonal line (see the following example). I'...
user2719094's user avatar
  • 1,732
20 votes
2 answers
24k views

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 ...
Alexander Obidiegwu's user avatar
20 votes
1 answer
48k views

Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax

I'm using ignite to create an expo react native app. I'm using this guide https://ignitecookbook.com/docs/recipes/GeneratorComponentTests to create component test files Here is the first test file ...
monty_lennie's user avatar
  • 3,161
19 votes
8 answers
10k views

Expo Camera only opening once with React Navigation

I set the Expo camera to open on the middle tab with react navigation. However, the camera only opens when I click on that tab the first time. If I switch off of it and go back it's just a black ...
borderal's user avatar
  • 211
19 votes
2 answers
8k views

React Native Expo StackNavigator overlaps Notification bar

I am trying to implement navigation bar for my React Native Expo app. Here is a problem: "dependencies": { "expo": "^18.0.3", "react": "16.0.0-alpha.12", "react-native": "^0.45.1", "...
Andrei's user avatar
  • 43.9k
19 votes
3 answers
31k views

Where is info.plist for React Native projects run in Expo for the purpose of callback URLs?

I am handling OAuth requests in my iOS React Native application. This application is contained and launched through Expo. I want to add in a custom callback url, so that I can return back to the ...
Code Doggo's user avatar
  • 2,206
19 votes
2 answers
26k views

Converting react native project into expo

I'm trying to do the conversion of my react-native project into Expo with the command line 'exp convert'. And I follow the following steps: npm install -g exp then I started 'exp convert' ...
Senoussaoui Ikram's user avatar
18 votes
17 answers
29k views

Expo app - can't load project with message : This is taking much longer than it should

I build my react native app in this way : 1.npm install expo-cli --global. 2.expo init my-new-project. 3.cd my-new-project and expo start --lan. 4. install expo on my ios device. 5. open Expo ...
Afsanefda's user avatar
  • 3,229
18 votes
3 answers
49k views

Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`

in react-native, I have: Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`. I have a postalCode and it is numeric value. I have set the ...
Dimitri Kopriwa's user avatar
18 votes
3 answers
34k views

How to create a gradient text in react-native

I want to create text with linear gradient color in react-native, but cannot find a suitable way or package to do this. I tried to use this package : https://github.com/iyegoroff/react-native-text-...
Lau Kumra's user avatar
  • 442
18 votes
1 answer
16k views

How to get sha256_cert_fingerprints for assetlinks.json for Expo?

Instructions for android universal deep links requires you to upload .well-known/assetlinks.json for verification. Expo deep linking documentation points you to format the file per official android ...
codewizard's user avatar
  • 1,469
18 votes
9 answers
27k views

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 '/Users/...
sizzle's user avatar
  • 2,292
18 votes
10 answers
37k views

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 ...
oflcad's user avatar
  • 505
18 votes
6 answers
17k views

React native Expo Build Number does not Increase

I am trying to build version "1.2.0" i have changed every single "buildNumber" and "version" in app.json and expo still builds ios buildNumber: "1.0.0". I am ...
Keaton Benning's user avatar
18 votes
4 answers
20k views

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 ...
LittleFunny's user avatar
  • 8,295
18 votes
9 answers
16k views

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 ...
Mizlul's user avatar
  • 2,270
18 votes
2 answers
39k views

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, ...
Mrigank Pawagi's user avatar
18 votes
1 answer
7k views

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(...
Slbox's user avatar
  • 12k
18 votes
5 answers
7k views

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 ...
Boopathi kumar's user avatar
18 votes
1 answer
11k views

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. ...
Matija Martic's user avatar
18 votes
3 answers
6k views

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 ...
user avatar
18 votes
0 answers
3k views

Is there any react-native-web compatible date picker? [closed]

I'm currently working on a react-native project using expo. A lot of the react-native components I'm using translate well with react-native-web. I'm having a hard time finding a date-picker library ...
Gaber's user avatar
  • 181
17 votes
9 answers
25k views

expo error installing or running app

when I try to run my app on the iOS simulator I get the error : Error running xcrun simctl openurl booted exp://localhost:19000: An error was encountered processing the command (domain=...
Mahgolsadat Fathi's user avatar
17 votes
4 answers
8k views

Expo SDK 45 splash screen with react navigation

I just upgraded to Expo SDK 45 and i got a warning: "expo-app-loading is deprecated in favor of expo-splash-screen: use SplashScreen.preventAutoHideAsync() and SplashScren.hideAsync() instead. ...
Bert Van Hecke's user avatar
17 votes
1 answer
29k views

React native Unable to resolve module expo-modules-core - Creative Tim Argon UI KIT

I try to install https://www.creative-tim.com/product/argon-pro-react-native, a template from Creative Tim for React Native. I follow all the steps, and when I launch Expo Go, I have this error : ...
Foub's user avatar
  • 295
17 votes
8 answers
34k views

Detected multiple Kotlin daemon sessions at build\kotlin\sessions - React-Native

I facing this issues while making release Build apk in react native. check screenshot - https://prnt.sc/sro8ua Task :app:createReleaseExpoManifest FAILED w: Detected multiple Kotlin daemon ...
Prashant Mali's user avatar
17 votes
5 answers
20k views

How do I update npm packages in Expo

In my regular React Native projects, I run npm update {package-name} regularly to make sure my libraries are up-to-date. For example, I use a third party user authentication package and want to make ...
Sam's user avatar
  • 29.2k
17 votes
8 answers
15k views

Error running adb: Error running app. Error: Activity not started, unable to resolve Intent

Hi I am trying to run 'yarn android' on my react-native project. And am running into the following error: yarn android v0.27.5 $ react-native-scripts android 10:37:45 AM: Starting packager... 10:39:...
narahan's user avatar
  • 401
17 votes
0 answers
13k views

Linking requires a build-time setting `scheme` in the project's Expo config (app.config.js or app.json) for production apps [closed]

Linking requires a build-time setting scheme in the project's Expo config (app.config.js or app.json) for production apps, if it's left blank, your app may crash. The scheme does not apply to ...
noone's user avatar
  • 223
16 votes
3 answers
23k views

Disable Debugging in Expo For React Native App

So I've opened up my react-native app in Expo today (using the iOS simulator) and I am creating by what looks like a debugging overlay. Screenshot here: I don't need this and it's blocking some of ...
Jack Robson's user avatar
  • 2,262
16 votes
7 answers
31k views

Change navigation bar color

I know it is possible since API 21 to change the color of the navigation bar. I have looked at the documentation of React Native but I can not find a way to do this. The only way I know is by ...
Joery's user avatar
  • 819
16 votes
5 answers
25k views

The experience you requested uses Expo SDK v(null), but this copy of Expo Client requires at least v23.0.0

I'm getting this error when launching Expo on my iOS simulator. The experience you requested uses Expo SDK v(null), but this copy of Expo Client requires at least v23.0.0. The author should ...
Squirrl's user avatar
  • 4,946
16 votes
3 answers
13k views

EXNetwork error 403 when publishing app to ios with Expo?

I am currently publishing my app for user testing using Expo, and it works fine when Android users scan the QR code. However when my friend on iOS tries to use the QR code on their Expo Go app(they ...
neb's user avatar
  • 161
16 votes
2 answers
19k views

Created an app with create-react-native-app, how to publish it to the Google Play Store?

I have created an app with create-react-native-app, but I am not sure how to publish it to google play store. Error 1 After reading this doc. ; exp build:android [exp] Making sure project is set up ...
kenpeter's user avatar
  • 7,940
16 votes
4 answers
6k views

react native (expo) load markdown files

I'm having some troubles loading markdown files (.md) into my react native (non-detached expo project). Found this awesome package that allows me to render it. But can't figure out how to load the ...
Norfeldt's user avatar
  • 9,220
16 votes
2 answers
9k views

how to use expo eas build offline --no Internet required

Is there any way I can use expo eas build fully offline without requiring an Internet connection. Maybe an offline package or ...
Icekid's user avatar
  • 485
16 votes
7 answers
27k views

How to apply custom fonts to whole project, Expo React Native

I'm new to React and those languages. Trying to apply a custom google font(Ubuntu) to whole project. I managed to pull the font into the project, but I can only use it in simple texts in App.js. Like ...
Uğur Alp's user avatar
  • 161
16 votes
1 answer
7k views

Do OTA updates in Expo get in motion on the first opening after brand new download from the stores?

I developed an app with React Native and distributed it with Expo. I published the final version into Google Play and Apple Store. Some time later I discovered in Expo's docs on Publishing that expo ...
fedorqui's user avatar
  • 285k
16 votes
1 answer
15k views

How to change App Display Name in Expo Managed app after publishing to App Store?

We have an Expo managed app. Initially we’ve set expo.name to Bridge - Debit Card in app.json file. We successfully released it into both stores - App Store and Google Play. But later we noticed that ...
doctorrokter's user avatar
16 votes
5 answers
13k views

Expo: don't show notification if app is open in foreground

I am developing a react-native messaging app with Expo. Every time a user receives a new message, I send a notification from my server. Is there any way to not display the notification if the app is ...
Ryan Pergent's user avatar
  • 4,948
16 votes
2 answers
3k views

Is it possible to hide the "BugReporting extraData" in React Native? (Using Expo)

Every time I open a React Native app with Expo, I get this massive message in the console with meta data about the app, that doesn't actually do much to help me debug. Especially because it's the same ...
Jackson Holiday Wheeler's user avatar
16 votes
2 answers
2k views

Download file using Blob in react-native

Since React-native v0.54 and Expo SDK v26, Blob is now supported. I'm trying to download a file available on a URL to my phone (if possible, in my Downloads directory on Android) All I can find for ...
Louis Lecocq's user avatar
  • 1,812
16 votes
1 answer
2k views

React Native in Expo: Asyncstorage gets cleared when app refreshes

This is going to be a dumb question cause I couldn't show any code as I don't what happened or where this is possible happening. I have been developing a react native app for months now and from the ...
Jed's user avatar
  • 1,074
15 votes
14 answers
85k views

"exp: command not found" How do I add expo cli to path?

I installed the expo cli with npm i -g exp then I run exp and I get -bash: exp: command not found I'm guessing I didn't add exp to path. So how do I do this properly? Nothing I've tried so far ...
Bobby Zhang's user avatar
15 votes
5 answers
20k views

Can't find a variable atob

Screen1.js import React,{useEffect} from 'react' import {View,Text} from 'react-native' import * as firebase from 'firebase/app'; import '@firebase/firestore'; const Screen1 = props =>{ ...
Pradeep's user avatar
  • 818
15 votes
4 answers
8k views

i18n.js Unable to resolve "make-plural" from Pluralization.js

I have a react native app and I am using expo. I want to translate my mobile app so I am going to use expo-localization and i18n-js which I have installed following in the expo documentation. Then I ...
colla's user avatar
  • 807
15 votes
7 answers
21k views

`Firebase` package was successfully found. However, this package itself specifies a `main` module field that could not be resolved

I'm trying to read and write to firestore, use firebase's authentication, and firebase's storage within a expo managed react-native application. Full Error: While trying to resolve module `firebase` ...
Joshua Gao's user avatar
15 votes
1 answer
14k views

TypeScript types for TextInput's onChange event in React Native

I have a React Native Expo project using TypeScript. How can I add types for the onChange event for the TextInput? <TextInput keyboardType="numeric" value={`${value}`} ...
Evanss's user avatar
  • 23.7k
15 votes
4 answers
6k views

Unable to get a Expo Push Notifications Token

I am working on react native Expo's Push Notifications. I just started and unable to get the Expo Push notification token. I added the following code: token = await Notifications....
Code Lover's user avatar
15 votes
4 answers
19k views

Cannot open phone call with Linking.openURL

Description Cannot open phone call with Linking.openURL('tel:+123456789') Environment Environment: OS: macOS High Sierra 10.13.4 Node: 8.5.0 Yarn: Not Found npm: 5.8.0 Watchman: Not ...
user avatar