gun/browser.js
Bradley Matusiak 5c52df2eee
react-native detection, and load needed shims (#1349)
* react-native detection

* added lib mobile

* changed back to gun. for another solution
2024-01-17 09:49:52 -08:00

5 lines
154 B
JavaScript

if(!(typeof navigator == "undefined") && navigator.product == "ReactNative"){
require("./lib/mobile.js");
}
module.exports = require('./gun.js');