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

Load text-encoding for older versions only #226

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

Conversation

AbdulrhmnGhanem
Copy link

@AbdulrhmnGhanem AbdulrhmnGhanem commented Dec 18, 2024

Details

Only load the text-encoding library on older versions of RN.

This is the cleanest approach I could think of. Any Metro related
solution will require involved steps from the library users. Compared
to just adding a line to the README explaining how to use the package
with older versions of RN bundler solutions seems overkill.

What this fixes

This is a partial requirement for Expensify/App#54096

Checklist

  • I have described the bug/issue
  • I have provided reproduction in Example App
  • I have tested that solution works on Example App on all platforms:
    • Android
    • iOS
    • Web

Screenshots/Videos

image

Copy link

github-actions bot commented Dec 18, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@AbdulrhmnGhanem
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

CLABotify added a commit to Expensify/CLA that referenced this pull request Dec 18, 2024
@AbdulrhmnGhanem
Copy link
Author

recheck

This is the cleanest approach I could think of. Any Metro related
solution will require  involved steps from the library users. Compared
to just adding a line to the README explaining how to use the package
with older versions of RN bundler solutions seems overkill.
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.

1 participant