81441c3c265ae6e733365dcba01f7da650f5b1f9
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-pdsyarn dev-wallet
- Run the dev app
- iOS:
yarn ios - Android:
yarn android - Web:
yarn web
- iOS:
- Tips
npx react-native infoChecks 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
Releases
1
Latest Build
Latest
Languages
TypeScript
92.9%
Go
2.2%
JavaScript
1.8%
Kotlin
0.9%
HTML
0.9%
Other
1.2%