Just published react-native-ssb-client
https://www.npmjs.com/package/react-native-ssb-client
API looks like ssb-client
, but is meant to be used in a React Native app. See my sandbox
repo, branch sbot
for an example usage. Basically just put "react-native-ssb-client": "1.0.4"
in package.json dependencies, then in index.android.js
, import ssbClient from 'react-native-ssb-client';
and use ssbClient
like you usually would use the npm package ssb-client
.