Skip to content

Commit

Permalink
docs: remove Buffer polyfill for react-native (#2595)
Browse files Browse the repository at this point in the history
React native no longer needs a polyfill after `xrpl@3.0.0-beta.1`
  • Loading branch information
ckniffen committed Feb 1, 2024
1 parent 63c71a1 commit e9b80e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion UNIQUE_SETUPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ If you want to use `xrpl.js` with React Native you will need to install polyfill
3. Create `polyfills.js` and add

```javascript
if (typeof Buffer === 'undefined') global.Buffer = require('buffer').Buffer
// Required for TextEncoder/TextDecoder
import 'fast-text-encoding'
// Required for `crypto.getRandomValues`
Expand Down

0 comments on commit e9b80e7

Please sign in to comment.