global atob btoa not available in JavaScriptCore and react-native · Issue #41 · SocketCluster/socketcluster-client

Getting this exception when running a react-native project on device: global.atob is not a function Most likely due to this line: socketcluster-client/lib/scsocket.js ...