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

Certain globals need polyfilling for React Native #62

Closed
3 tasks done
smithki opened this issue Apr 23, 2020 · 1 comment ยท Fixed by #63
Closed
3 tasks done

Certain globals need polyfilling for React Native #62

smithki opened this issue Apr 23, 2020 · 1 comment ยท Fixed by #63
Assignees
Labels
๐Ÿ› Bug Report ๐Ÿ“ฑ React Native React-native related released This issue/pull request has been released.

Comments

@smithki
Copy link
Contributor

smithki commented Apr 23, 2020

โœ… Prerequisites

  • Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • Are you running the latest SDK version?
  • Are you reporting to the correct repository (magic-sdk)?

๐Ÿ› Description

atob, btoa, and process is not defined in React Native.

๐Ÿงฉ Steps to Reproduce

  1. Set up React Native Project
  2. Import/instantiate Magic
  3. Broken ๐Ÿ˜ข

๐Ÿค” Expected behavior

React Native should work!

๐Ÿ˜ฎ Actual behavior

Undefined globals if the environment is not correctly polyfilled.

๐Ÿ’ป Code Sample

None.

๐ŸŒŽ Environment

Software Version(s)
magic-sdk
Browser
yarn
Operating System
@smithki
Copy link
Contributor Author

smithki commented Oct 22, 2020

@smithki smithki added the released This issue/pull request has been released. label Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๐Ÿ› Bug Report ๐Ÿ“ฑ React Native React-native related released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant