npm

Need private packages and team management tools?Check out npm Orgs. »

react-native-airbitz-io

0.3.1 • Public • Published

Airbitz React Native IO depdendencies

This library creates an io object with all the depenencies needed to run airbitz-core-js on React Native.

Use it like this:

import { makeContext } from 'airbitz-core-js'
import { makeReactNativeIo } from 'react-native-airbitz-io'
 
const contextPromise = makeReactNativeIo().then(io => {
  return makeContext({
    apiKey: '...',
    appId: '...',
    io
  })
})

Note that makeReactNativeIo calls out to native code, so it returns a Promise object.

Installing

After adding this library using yarn intall, use react-native link to automatically re-configure the native project files.

Keywords

none

install

npm i react-native-airbitz-io

Downloadsweekly downloads

2

version

0.3.1

license

SEE LICENSE IN LICENSE

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability