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
14
votes
1 answer

How to use older version of Expo with the mobile app?

i have a project using expo version 30.0.1 i don't want that to change the app was created using CRNA when i try to run npm start and i choose ios or android the expo mobile app on the simulator always gives me an error saying the experience you…
Surafel
  • 675
  • 4
  • 11
  • 24
14
votes
2 answers

Expo Web failed to compile "optional chaining"

Looks like Expo Webpack doesn't optional chaining. I found this when I tried to install UI Kitten to Expo Web app. This is the compile error after I added UI Kitten to the newly created Expo…
14
votes
5 answers

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 =>{ useEffect(() => { var dbh =…
Pradeep
  • 798
  • 1
  • 7
  • 18
14
votes
2 answers

react-native-image-picker vs expo ImagePicker

I have tried many attempts to get react-native-image-picker up and working with my RN app. I am using Expo and VS Code and am not running the app with Xcode or Android Studio. There seems to be many options to getting the camera roll available in an…
Olivia
  • 1,843
  • 3
  • 27
  • 48
14
votes
7 answers

npm install -g expo-cli fails with "EPERM: operation not permitted, unlink '...\adb.exe'

I receive an error when running $ npm install -g expo-cli I have tried reinstalling the node modules as An Administrator but the same error occurs. Environment: Windows 10, Node Version: 10.15.3, NPM Version: 6.9.0 I expect the install to happen…
Griseld Gerveni
  • 482
  • 2
  • 5
  • 17
14
votes
3 answers

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-gradient. But, while trying to run an example with…
Lau Kumra
  • 402
  • 1
  • 4
  • 11
14
votes
3 answers

differences between create-react-native-app and exp init

I found that create-react-native-app is based on expo. but when using exp-cli, it is also based on Expo. what are differences between create-react-native-app and exp init ?
Ho Yun Lee
  • 143
  • 1
  • 6
14
votes
5 answers

Expo : cannot find a module LogReporter

I have created a React Native Project and I was trying to open that project in Expo XDE. It throws the following error: Cannot find module ...\node_modules\expo\tools\LogReporter Firstly I created a React Native project by cloning a KitchenSink…
Sadhu
  • 850
  • 2
  • 9
  • 18
14
votes
1 answer

Error : Cannot read property fetch. Using jest-expo with react native

TypeError: Cannot read property 'fetch' of undefined at node_modules/whatwg-fetch/fetch.js:4:8 at Object. (node_modules/whatwg-fetch/fetch.js:466:3) at Object. (node_modules/jest-expo/src/setup.js:97:348) Got error…
Vyas Reddy
  • 1,226
  • 1
  • 13
  • 24
13
votes
4 answers

How do I use react-native-google-mobile-ads with Expo and Expo Go?

How do I use react-native-google-mobile-ads with Expo and Expo Go? (e.g. Banner Ads) A minimal example within the context of Expo would be very much appreciated. All the online google documentation as of May 2022 refers to expo-ads-admob, but Expo…
Crazy Chenz
  • 12,650
  • 12
  • 50
  • 62
13
votes
4 answers

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 using eas build --profile production --platform ios { "expo": { "name": "Redacted", …
Keaton Benning
  • 471
  • 5
  • 13
13
votes
1 answer

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 : Unable to resolve module expo-modules-core from…
Foub
  • 255
  • 1
  • 3
  • 16
13
votes
2 answers

I can't run my expo project since I updated expo-sdk

When I try to run my expo project I get this message: D:\React\myproject>npm start > start > expo start Starting project at D:\React\myproject Unable to find expo in this project - have you run yarn / npm install yet? If I run npm install i get…
Diogo Pinheiro
  • 131
  • 1
  • 5
13
votes
3 answers

Dark Mode: useColorScheme() always returns light on Android

I am trying to get Dark Mode to work and it doesn't work on Android. It always returns "light". On iOS it works fine. import React from 'react'; import { useColorScheme } from "react-native"; export default function App() { const theme =…
André
  • 1,078
  • 10
  • 22
13
votes
6 answers

Execution failed for task ':expo-permissions:compileDebugKotlin'

I am working on a React Native app where I included some expo libraries (bare workflow). I had successfully used expo-location, but now after I installed also expo-camera, the app won't build anymore with npm run android, did not try yet on ios. It…
chris chris
  • 131
  • 1
  • 1
  • 5