0.0.4 • Published 7 years ago
photo-sdk
Licence
MIT
Version
0.0.4
Deps
1
Size
8 kB
Vulns
0
Weekly
0
photo-sdk
Install
yarn add photo-sdk
or
npm install photo-sdk
Usage in web
import sdk, { launch, stop, init, } from 'photo-sdk'
sdk.init('api_key') // or init('api_key)
sdk.launch() // or launch()
sdk.stop() // or stop()
Usage with react-native
import sdk, { launch, stop, init, withPhoto } from 'photo-sdk'
//......
AppRegistry.registerComponent(appName, () => withPhoto()(Root))
//......
sdk.init('api_key') // or init('api_key)
sdk.launch() // or launch()
sdk.stop() // or stop()