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

new web: fix build issue #4098

Merged
merged 1 commit into from
Oct 22, 2024
Merged

new web: fix build issue #4098

merged 1 commit into from
Oct 22, 2024

Conversation

patosullivan
Copy link
Member

A recent change to useConfigureUrbitClient (introduction of some RN polyfill imports which have no RN web equivalent) was causing the new web app build to fail.

This PR moves the native-only polyfill imports out to a .native.ts specific file and adds a polyfill.ts file that will work for web.

Tested on iOS simulator, network requests appear to function normally.

Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, sorry!

@patosullivan patosullivan merged commit 8c5baa4 into develop Oct 22, 2024
1 check passed
@patosullivan patosullivan deleted the po/fix-tlon-web-new-build branch October 22, 2024 14:47
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.

2 participants