2022-06-15 19:52:47 -05:00
2022-06-09 13:03:25 -05:00
2022-06-07 17:50:05 -05:00
2022-06-13 22:12:43 -05:00
2022-06-15 17:40:18 -05:00
2022-06-09 16:32:03 -05:00
2022-06-15 17:40:18 -05:00
2022-06-07 17:50:05 -05:00
2022-06-10 11:55:09 -05:00
2022-06-07 17:50:05 -05:00
2022-06-09 13:03:25 -05:00
2022-06-07 17:50:05 -05:00
2022-06-07 17:50:05 -05:00
2022-06-15 17:40:18 -05:00
2022-06-07 17:50:05 -05:00
2022-06-09 13:03:25 -05:00
2022-06-15 17:40:18 -05:00
2022-06-15 17:40:18 -05:00
2022-06-15 19:52:47 -05:00
2022-06-07 17:50:05 -05:00
2022-06-15 17:40:18 -05:00

Social App

In-progress social app.

Uses:

Build instructions

  • Setup your environment using the react native instructions.
  • After initial setup:
    • cd ios ; pod install
  • Start the dev servers
    • yarn dev-pds
    • yarn dev-wallet
  • Run the dev app
    • iOS: yarn ios
    • Android: yarn android
    • Web: yarn web
  • Tips
    • npx react-native info Checks what has been installed.
    • On M1 macs, you need to exclude "arm64" from the target architectures
      • Annoyingly this must be re-set via XCode after every pod install

Various notes

Env vars

Set using the .env file or using bash.

REACT_APP_AUTH_LOBBY = 'http://localhost:3001'

Build behaviors

The metro.config.js file rewrites a couple of imports. This is partly to work around missing features in Metro, and partly to patch the bundle. Affected imports include:

  • ucans
  • one-webcrypto

Cryptography

For native builds, we must provide a polyfill of webcrypto. We use react-native-securerandom for the CRNG and msrcrypto for the cryptography.

NOTE Keys are not currently stored securely.

Polyfills

./platform/polyfills.*.ts adds polyfills to the environment. Currently this includes:

  • webcrypto
  • TextEncoder / TextDecoder
S
Description
No description provided
Readme MIT 838 MiB
Latest Build Latest
2026-09-08 16:36:01 +00:00
Languages
TypeScript 92.9%
Go 2.2%
JavaScript 1.8%
Kotlin 0.9%
HTML 0.9%
Other 1.2%