33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
# Social App
|
|
|
|
In-progress social app.
|
|
|
|
Uses:
|
|
|
|
- [React Native](https://reactnative.dev)
|
|
- [React Native for Web](https://necolas.github.io/react-native-web/)
|
|
- [React Navigation](https://reactnative.dev/docs/navigation#react-navigation)
|
|
- [MobX](https://mobx.js.org/README.html) and [MobX State Tree](https://mobx-state-tree.js.org/)
|
|
- [Async Storage](https://github.com/react-native-async-storage/async-storage)
|
|
|
|
## Build instructions
|
|
|
|
- Setup your environment [using the react native instructions](https://reactnative.dev/docs/environment-setup).
|
|
- 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.
|
|
|
|
## Various notes
|
|
|
|
- ["SSO" flows on mobile](https://developer.okta.com/blog/2022/01/13/mobile-sso)
|
|
- Suggests we might want to use `ASWebAuthenticationSession` on iOS
|
|
- [react-native-inappbrowser-reborn](https://www.npmjs.com/package/react-native-inappbrowser-reborn) with `openAuth: true` might be worth exploring
|
|
- We might even [get rejected by the app store](https://community.auth0.com/t/react-native-ios-app-rejected-on-appstore-for-using-react-native-auth0/36793) if we don't |