Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: express import in react native #1946

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TimoGlastra
Copy link
Contributor

Custom express.native.ts file will prevent React Native from bundling the express dependency. If at runtime express is imported it will throw an error, this will only be the case if you try to use the issuer or verifier modules in React Native (which are not supported in RN)

Fixes #1943

Signed-off-by: Timo Glastra <timo@animo.id>
Copy link

changeset-bot bot commented Jul 14, 2024

🦋 Changeset detected

Latest commit: ca60fe0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@credo-ts/openid4vc Patch
@credo-ts/action-menu Patch
@credo-ts/anoncreds Patch
@credo-ts/askar Patch
@credo-ts/bbs-signatures Patch
@credo-ts/cheqd Patch
@credo-ts/core Patch
@credo-ts/drpc Patch
@credo-ts/indy-sdk-to-askar-migration Patch
@credo-ts/indy-vdr Patch
@credo-ts/node Patch
@credo-ts/question-answer Patch
@credo-ts/react-native Patch
@credo-ts/tenants Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Signed-off-by: Timo Glastra <timo@animo.id>
@TimoGlastra TimoGlastra force-pushed the fix/express-import-react-native branch from a56223d to ca60fe0 Compare July 14, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OID4VC holder module not starting in RN environment
1 participant