-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
featNew feature or request.New feature or request.
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
Axios 0.27 and the latest 1.8.4 for newest React Native (I'm using 0.76 with Expo v52 in https://github.com/pactochat/pacte/tree/main/apps/expo) need Metro resolvers for buffer, stream, assert, http, zlib...
Expo web works in my project, because uses Axios' browser exports (v0.x and v1.x), but native app encounters Axios's Node incompatibilities (stream, url, crypto, buffer...), like this one:
The package at "node_modules/@ory/client/node_modules/axios/dist/node/axios.cjs" attempted to import the Node standard library module "http"
Describe your ideal solution
Replace Axios for a custom solution or a cross-platform Typescript library, like Effect https://effect.website/docs/error-management/retrying/.
Workarounds or alternatives
I'm trying to find Metro resolvers.
Version
@ory/client@1.20.6
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featNew feature or request.New feature or request.