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.
16,546
questions
-1
votes
0
answers
17
views
[TypeError: Cannot read property 'indexOf' of undefined]
I'm trying to delete a document from fire store one by one based on the ID but the code is not working as expected.
const Charities = () => {
const [userData, setUserData] = useState([]);
{/...
0
votes
0
answers
4
views
react native Image component cannot display photos from expo media library
im trying to access media gallery from a phone is display it in my expo app using the expo media gallery, everything seem to work fine but the image are not displaying.
it seems to be an issue with ...
0
votes
0
answers
12
views
Failed to send request: [AxiosError: Network Error] on expo android only. Working on web
const sendRequest = async () => {
try {
setIsLoading(true);
const formData = new FormData();
formData.append("description", description);
formData.append(&...
0
votes
0
answers
8
views
Nativewind is not working when functions are defined in tailwind.config.ts
I am using React Native, TypeScript, Expo and Nativewind.
I defined some functions and used it to customize tailwind classes.
And the style does not apply.
Tailwind.config.ts:
/* eslint-disable no-...
0
votes
0
answers
11
views
react native expo getting error _ExpoSQLiteNext.default.NativeDatabase is not a constructor in SQLite.openDatabaseAsync('db.testDb')
I'm getting below error when I used SQLite.openDatabaseAsync('db.testDb');
Error
TypeError: _ExpoSQLiteNext.default.NativeDatabase is not a constructor
Code snippets :-
import * as SQLite from '...
0
votes
0
answers
31
views
Expo Error: Not a valid base64 encoded string length, js engine: hermes
I upgraded Expo from 48 to 51 and fixed all the conflict dependencies.
Ran the expo upgrade command and fix command which fixed all the dependencies on its own.
Ran the npx expo-doctor command and ...
0
votes
0
answers
6
views
Having trouble with AdMob after upgrading to Expo version 51
I have upgraded my Expo project to version 51 and now am getting an error when creating an aab build for the Play Store. It is as follows:
FAILURE:
Build failed with an exception.
What went wrong:
...
0
votes
0
answers
8
views
Can't startup expo project from terminal on my Mac
Command prompt npx create expo-app
returns this error:
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in: /Users/baguma/.npm/_logs/2024-07-...
0
votes
1
answer
22
views
"Error: Module not found: Can't resolve 'crypto' in Expo SDK 50"
I'm encountering an issue after upgrading to Expo SDK 50. When I try to run my project, I get the following error:
Module not found: Can't resolve 'crypto'
7 | const cryptoObject =
8 | ...
0
votes
0
answers
13
views
React Native Expo- Firebase Google Authentication
I’m currently using React Native with Expo Go for my mobile app development. For user authentication, I’ve integrated Firebase and have successfully set up email verification and authentication. ...
0
votes
0
answers
14
views
React Native Expo Project: Authenticated User Redirection Issue
I'm working on a React Native Expo project, and I'm having trouble with user authentication redirection. Here's the project structure:
(app)
- (tabs)
- _layout.tsx
auth
onboarding
In the ...
0
votes
0
answers
7
views
What is the correct input for YearlyTriggerInput for expo-notifications?
I am trying to implement notifications in an Expo app using expo-notifications. My trigger object in scheduleNotificationAsync conforms to the YearlyTriggerInput, but it not behaving as expected.
For ...
0
votes
0
answers
23
views
Handling CORS in React Native
I have a FastAPI backend running and want to protect any URL using my endpoint with CORS. With a web app, it's simple; you just need to accept requests that match your frontend URL. However, how would ...
0
votes
0
answers
9
views
Having trouble starting an expo project from terminal
running npx create expo-app brings this error
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in: /Users/baguma/.npm/_logs/2024-07-19T22_13_39_732Z-...
0
votes
0
answers
9
views
TouchableOpacity styling with className doesn't render
So I've been banging my head on this for a while now and I don't understand why it the touchable opacity just won't render it style (using tailwind). Here is my code
import { TouchableOpacity, Text, ...