Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
fix: android bigint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
patogallaiovlabs committed Apr 23, 2021
1 parent a8ce116 commit 32e4d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (typeof process === 'undefined') {

process.browser = false;
if (typeof Buffer === 'undefined') global.Buffer = require('buffer').Buffer;

if (typeof BigInt === 'undefined') global.BigInt = require('big-integer');
// global.location = global.location || { port: 80 }
const isDev = typeof __DEV__ === 'boolean' && __DEV__;
process.env.NODE_ENV = isDev ? 'development' : 'production';
Expand Down

0 comments on commit 32e4d70

Please sign in to comment.