mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
ReactNative/Expo fix for SEA (#1169)
This commit is contained in:
parent
6d3ea2ecc5
commit
9413142c80
5
lib/mobile.js
Normal file
5
lib/mobile.js
Normal file
@ -0,0 +1,5 @@
|
||||
import Buffer from "buffer";
|
||||
import { TextEncoder, TextDecoder } from "text-encoding";
|
||||
global.Buffer = global.Buffer || Buffer.Buffer;
|
||||
global.TextEncoder = TextEncoder;
|
||||
global.TextDecoder = TextDecoder;
|
Loading…
x
Reference in New Issue
Block a user