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: https://github.com/SocketCluster/socketcluster-client/blob/1b2cc0b...