8b310d91f0cd9e2e101d26e0c4bae50d98cd59e8
* Check photo & camera perms and alert the user if not available (close #64) - Adds perms checks with a prompt to update settings if needed - Moves initial access of photos in the composer so that the initial prompt occurs at an intuitive time. * Add react-native-permissions test mock * Fix issue causing multiple access requests * Use longer var names * Update podfile.lock * Lint fix * Move photo perm request in composer to the gallery btn instead of when the carousel is opened
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
git clone git@github.com:bluesky-social/atproto.gitcd atprotoyarncd packages/dev-env && yarn start
- 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
- The android simulator won't be able to access localhost services unless you run
adb reverse tcp:{PORT} tcp:{PORT}- For instance, the localhosted dev-wallet will need
adb reverse tcp:3001 tcp:3001
- For instance, the localhosted dev-wallet will need
- For some reason, the typescript compiler chokes on platform-specific files (e.g.
foo.native.ts) but only when compiling for Web thus far. Therefore we always have one version of the file which doesn't use a platform specifier, and that should bee the Web version. (More info.)
Various notes
Polyfills
./platform/polyfills.*.ts adds polyfills to the environment. Currently this includes:
- 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%