Dev diary: building an SSB app for Android
Started making an SSB app for mobile.
Using React Native. Probably will eventually use Cycle.js with TypeScript and React Native, but for now the most important is getting a proof of concept working.
Started the RN project, and then simply did npm install scuttlebot
. Of course everything broke. But it helped me to know what broke.
Installed rn-nodeify
which gives me some basic node packages like fs, dgram, path.
Then noticed there is no react-native-sodium library. There is gladly sodium for Android. So next step is developing the react-native-sodium library and then from the RN project settings I can alias chloride
as react-native-sodium
everywhere. That's what keeping me busy now. Main challenge is simply finding what is the full API for node's sodium so I can mirror it correctly. I would be happier if @types/sodium
existed, which doesn't.