Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
type State = {
context: EdgeContext | null,
counter: number
}
const contextOptions = {
apiKey: ENV.AIRBITZ_API_KEY,
appId: '',
plugins: allPlugins
}
const isReactNative = detectBundler.isReactNative
const nativeIo = isReactNative
? {
'edge-currency-accountbased': makeAccountbasedIo(),
'edge-currency-bitcoin': makeBitcoinIo(),
'edge-currency-monero': makeMoneroIo(),
'edge-exchange-plugins': makeExchangeIo()
}
: {}
/**
* Mounts the edge-core-js WebView, and then mounts the rest of the app
* once the core context is ready.
*/
export class EdgeCoreManager extends PureComponent {
splashHidden: boolean = false
paused: boolean = false
constructor (props: Props) {
super(props)