2.0 KiB
2.0 KiB
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
- iOS:
- 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
- "SSO" flows on mobile
- Suggests we might want to use
ASWebAuthenticationSession
on iOS - react-native-inappbrowser-reborn with
openAuth: true
might be worth exploring - We might even get rejected by the app store if we don't
- Suggests we might want to use
- Cryptography
- We rely on isomorphic-webcrypto
- For the CRNG this uses react-native-securerandom which provides proper random on mobile
- For the crypto this uses msrcrypto - but we should consider switching to the MS maintained version
- In the future it might be preferable to move off of msrcrypto and use iOS and Android native modules, but nothing is available right now