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.
9,159
questions with no upvoted or accepted answers
22
votes
1
answer
1k
views
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",
...
21
votes
1
answer
3k
views
Setting up Detox with Expo on Android
I'm trying to set up Detox with Expo on Android emulator (Genymotion) but I have an error that I can't go through....
I've installed the necessary packages :
Detox
detox-expo-helpers
expo-detox-...
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 ...
15
votes
0
answers
4k
views
React Native TextInput Error: perform input operation requires a valid sessionID
I have a React Native project using the Expo managed workflow with Prebuild.
I'm simply rendering a TextInput component and I am receiving this error:
[RemoteTextInput] -[RTIInputSystemClient
...
15
votes
0
answers
4k
views
Disconnected from the Metro server. Reload to reconnect
Using RN with Expo, I've started getting the Disconnected from the Metro server. Reload to reconnect error to appear pretty much every time after hitting Save.
I found this - https://github.com/...
14
votes
2
answers
9k
views
Expo cannot open development build on android emulator
I'm trying to run my Expo managed project on Android simulator with npx expo run:android.
I have expo-dev-client installed.
When I run npx expo run:android, it fails with the message:
CommandError: ...
13
votes
1
answer
2k
views
How to handle a share intent(sending an image) in the expo app?
Is there any way to handle sharing files to expo app? According to the documentation of app.json it's possible to provide intentFilters, but I can't find anything regarding handling them afterwards.
...
12
votes
0
answers
950
views
React Native warnings after upgrading to SDK 49 Expo
Hi i'm getting those warnings after upgrading my react native app to SDK 49
"transform" style array value is deprecated. Use space-separated string functions, e.g., "scaleX(2) rotateX(...
11
votes
0
answers
1k
views
Error: Unable to deactivate keep awake. However, it probably is deactivated already. App created by Expo cli
I have created an app by using the following command.
npx create-react-native-app notification
I did not edit the code. Once I launch the app in the Android emulator and If I press the back button and ...
11
votes
0
answers
1k
views
Add Google Sign to Expo app, and server-side session handling
Environment
React Native 0.62
Expo SDK Version: 37
Platforms(Android and iOS):
Context
Hi,
I am building an app using Expo client and I would like to add Google Sign in. I have already created both ...
11
votes
2
answers
5k
views
Attempted import error: 'shouldUseActivityState' is not exported from 'react-native-screens'
I'm getting this error :
C:/Users/Mobile/node_modules/@react-navigation/drawer/lib/module/views/ResourceSavingScene.js
Attempted import error: 'shouldUseActivityState' is not exported from 'react-...
11
votes
0
answers
3k
views
Is there a way to open instagram app on 'add page' from my expo app (react native solution)?
I am new to react-native/expo, so maybe because of it, I can't find any solution.
I want to open 'Instagram app' from my new app. But the Instagram should be opened on 'add' page, where the user can ...
10
votes
0
answers
394
views
Gets ENOTDIR error when yarn start for expo project
I activated yarn by following yarn official docs (https://yarnpkg.com/getting-started/install)
I created an expo app with yarn by following react native official docs (https://reactnative.dev/docs/...
10
votes
0
answers
2k
views
How to sign out of an AWS Cognito federated identity session?
It is easy to sign into an AWS Cognito session either via username and password or federated identity using { Auth } from 'aws-amplify' by
Auth.signIn({ username: email, password: password})
or
Auth....
10
votes
0
answers
792
views
react native EXPO Javascript Obfuscation
I am new to react native , i used Expo C.L.I and Firebase to develop a beautiful app, i want to publish this app to the play store hence i have to secure it , i am opting for JavaScript Obfuscation
I ...
10
votes
0
answers
5k
views
How to ignore SSL issues in axios using React Native?
Hi I'm currently working with react native on Android with Expo. I am trying to send requests to my server which has a valid ssl certificate, but for some reason axios takes it as invalid, so axios ...
10
votes
4
answers
13k
views
Can't archive with Xcode (error - PhaseScriptExecution failed with a non zero exit code), but the build is successful
I am sorry for the black marks in the image.
I have seen multiple posts suggesting an answer to this problem, Lock unlocks keychain (tried it), pod Update (tried it), clear build(tried it), signing, ...
10
votes
0
answers
1k
views
Error: Could not find image file:///Users/Library/Developer/CoreSimulator/Devices/
I have react-native ExpoKit IOS app, suddenly I have started to get an error, that app can't find images:
Could not find image
file:///Users/Library/Developer/CoreSimulator/Devices/
When I'm ...
10
votes
1
answer
1k
views
Expo files isn't readable
I'm tryna get read tha content of this recorded file with expo FileSystem api.
this is the code:
Expo.FileSystem.readAsStringAsync((Platform.OS==='android'?'file://':'')+sound.status.uri).then(str =...
9
votes
3
answers
3k
views
trouble navigating with file based router on Dynamic route
The file based routing hasn't exactly clicked all the way for me. The earlier NextJS pages file routing worked easily. I haven't made the conversion to Expo Route file based for some reason. ...
9
votes
0
answers
2k
views
React native reanimated , application crashs when call setState in callback with withTiming or withSpring
My React Native expo application crashing without any error when call function() in withTiming() callback
Example :
const whenFinishFunction = () => {
// do some thing
};...
9
votes
0
answers
4k
views
How can I symbolicate a call stack in react-native (expo, metro, storybook)
ios simulator screenshot - console warning
When running my react-native application on the iOS Simulator, in the Console Warning, I cannot view the source as the message says:
This call stack is not ...
9
votes
0
answers
390
views
Getting critical severity when working with Expo 45 and React-Native 0.68.2
I have decided to use expo to start a new project and am running into a problem.
Expo 45 does not have React-Native: 0.69.0 yet. But I am noticing I keep getting as the recommended fix for a critical ...
9
votes
0
answers
956
views
Failed to write manifest file.Error Domain=NSCocoaErrorDomain
I have react native expo app with Sentry configured. Sentry is reporting this crash.
Error: Failed to write manifest file.Error Domain=NSCocoaErrorDomain Code=640 "You can’t save the file “...
9
votes
0
answers
1k
views
How can I add Apple MusicKit to a React Native app?
How can I implement Apple MusicKit in a React Native app, including Apple authentication?
9
votes
0
answers
2k
views
How to access internal storage using Expo.FileSystem to save file in any directory that i wish?
I am using Expo.FileSystem here and I have to download file from my api and save it to my Videos folder in internal storage.
I have to save the file to my videos folder and not in FileSystem....
9
votes
0
answers
2k
views
Read file as a buffer within an Expo application
Specific problem is that the Expo filesystem can only read a file as a string, but my desired usage (more below) is to read the file as a buffer. I'm hunting around the alternative filesystem ...
9
votes
1
answer
3k
views
Expo: No native splash screen registered for provided activity. Please configure your application's main Activity to call 'SplashScreen.show'
Unhandled promise rejection: Error: No native splash screen registered for given view controller. Call 'SplashScreen.show' for given view controller first. (https://github.com/expo/expo/tree/main/...
9
votes
1
answer
2k
views
Splash Screen white flicker before loading (React Native Expo)
When the app loads there is a white background then a flicker before the splash screen is shown. I have removed the splash screen from the app.json file since i am manually loading and hiding the ...
8
votes
4
answers
2k
views
Building my app with Expo causes extra padding on the top of my app's screen (React Native)
I'm building my first app with React Native and I'm using Expo to build my app. My problem is whenever I build my app there comes this extra white space / padding on top of my app. I have tried using ...
8
votes
0
answers
248
views
Expo Application Services (eas) upload release notes
We are thinking of using Expo Application Services to build and then submit our builds to both app store and the play store.
All seems pretty straightforward, however, there is one piece that we can't ...
8
votes
1
answer
6k
views
How to ignore typescript errors in jest
how to ignore some typescript errors when running the tests with jest ?
I have tried to use // @ts-ignore comment, but still not working for jest.
I am using jest-expo which internally uses [email protected]....
8
votes
0
answers
3k
views
Custom Slider and Range Slider for React Native
I spent 3 days developing Custom Slider and Range Slider for React Native.
I am astonished to see that the slider components in React Native are so basic and don't allow any customization. I wanted to ...
8
votes
2
answers
2k
views
Turn Expo Bare into Managed project
We started this project as a Bare Expo project because we initially required native functionalities that the Managed workflow did not support.
We've since removed these features and would now like to ...
8
votes
1
answer
2k
views
Module not found: Can't resolve 'react-dom/unstable-native-dependencies'
I am writing applications with React Native. I am using Expo.
My React and react-dom versions are 17.0.0 but I get an error like this on the expo web page. How can I solve the problem?
"react&...
8
votes
2
answers
2k
views
Expo: Get audio data realtime and send via Socket.IO
App I want to make
I would like to make audio recognition mobile app like Shazam with
Expo
Expo AV(https://docs.expo.io/versions/latest/sdk/audio)
Tensorflow serving
Socket.IO
I want to send ...
8
votes
0
answers
388
views
Optimising Expo build:web
I have built an application in React Native for iOS and Android but I'd also like to make available via a web app. It all works great but the performance on the web app is a problem.
The file size ...
8
votes
0
answers
3k
views
React native + expo + Notifications = You must provide `notification.vapidPublicKey` in `app.json` to use push notifications on web
I've been building an app on RN and static stuff are working as intended. Now I'm trying to add Push Notifications and all tries lead me to this error: You must provide 'notification.vapidPublicKey' ...
8
votes
0
answers
635
views
Is it possible to clear all stored information from SecureStore?
I am beginning to work with SecureStore and I was wondering if there was a simple way to clear all the storage. I couldn't seem to find a command for it in the documentation.
8
votes
1
answer
825
views
Expo build:ios Something went wrong when trying to ensure App ID exists on Apple Developer Portal
I'm trying to run build:ios on expo, when I select the
? Will you provide your own Apple Push Notifications service key? Let
Expo handle the process
It throws an error tells me I don't have ...
8
votes
1
answer
4k
views
react-native-snackbar expo alternatives recommendations
Does any know of an alternative to react-native-snackbar that will work in expo? Or something within expo that will provide similar functionality? thanks!
8
votes
0
answers
2k
views
How to send TLS client certificates from a React Native app?
I have a React Native application deployed on devices, and they need to communicate with an endpoint requiring TLS mutual authentication: I need to send a TLS client certificate along with the request....
8
votes
1
answer
2k
views
react-native expo issue: check method of `SceneView`
I don't understand why my code doesn't run the orther devices wheras my code is checked ok in my old device. This is notification:
Invariant Violation: Invariant Violation: Element type is invalid: ...
8
votes
2
answers
3k
views
Is it possible to build an expo app locally without having an account?
I see here: https://docs.expo.dev/build-reference/local-builds/ that in order to build my expo app on my own infrastructure, I need to have expo
Company policies that restrict the use of third-party ...
8
votes
1
answer
6k
views
How to use QR Code to open AppStore or deep link an app?
I'm currently developing an app that uses QR code to identify products. Here are the use cases:
If user hasn't installed the app, scanning the QR code should take them to AppStore / PlayStore to ...
8
votes
3
answers
7k
views
PayloadTooLargeError for Expo in React Native
What is causing the PayloadTooLargeError error? I get it sometimes and also when the payload is a few KB (as far as I can figure out).
PayloadTooLargeError: request entity too large
at readStream (...
7
votes
0
answers
2k
views
Expo gradle build failed
I do an Android Play Store build. Unfortunately it does not work.
This is the output
> Task :gradle-plugin:pluginDescriptors
> Task :gradle-plugin:processResources
> Task :gradle-plugin:...
7
votes
0
answers
609
views
How to download a file without displaying directory selection UI when calling StorageAccessFramework in expo-file-system
I'm making a function to save a file downloaded from a server via expo-file-system.
In this code, when you click the download button on Android, the file selection UI appears, and when you select a ...
7
votes
0
answers
926
views
"Error: ENOENT: no such file or directory", when using React Native with Hermes
Whenever there is an error in my code while running expo with Hermes locally, I get this error message as well:
Error: ENOENT: no such file or directory, open 'C:\Users\kudo\01_Work\Repos\expo\expo\...
7
votes
1
answer
2k
views
React native Modal bypasses expo navigation bar setting
In my App.js i have set :
import * as NavigationBar from "expo-navigation-bar";
...In my component
useEffect(() => {
if (android) {
NavigationBar.setBackgroundColorAsync(&...