docs: remove Buffer polyfill for react-native (#2595)

React native no longer needs a polyfill after `xrpl@3.0.0-beta.1`
This commit is contained in:
Caleb Kniffen
2023-12-04 15:28:22 -06:00
parent 63c71a162d
commit e9b80e79a3

View File

@@ -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`