spacedrive/apps/mobile
jake d1b6263ae7
[ENG-355] Keychain integration (and some typesafety) (#558)
* update crypto MSRV

* rename `keychain` to `keyring`

* make a start on the keymanager unlock refactor/keychain integration

* update routes

* update bindings

* add const identifiers

* add UI/front-end support for unlocking KM with OS keychains

* remove SK from lib creation dialog

* update query name

* add keyring functions

* attempt to update `change_master_password()` to use the keychain

* cleanup, fix master password change ui, better secret key in keyring detection

* cleanup TS a little

* add route for getting secret key from keyring

* update bindings

* update var names + show secret key in keys settings

* add `react-qr-code` and option to view the secret key (if it's in the OS keyring)

* allow copying SK to clipboard

* add `key_type` so we're not reliant on specific UUIDs for root/verification key handling

* clippy

* fix mobile typecheck

* fix typecheck, fix typo and tweak balloon hash parameters

* minor cleanup + typo fix

* use newtype structs

* WIP type refactoring (major readability boost!)

* update `use`

* add tokio `sync` feature

* too many structs? idk

* more cleanup

* add `generate` and `Nonce`

* `Nonce` and `Key` typesafety (beautiful)

* clippy + cleanup

* update code & examples

* fix bug & remove `ProtectedVec` as it looked out of place

* use `Key`

* add a query invalidation to make the UI extremely responsive

* ci pls work

* remove `keyringHasSk` route
2023-02-07 12:03:12 +00:00
..
android update android configs 2023-01-22 12:47:54 +08:00
ios build sd-mobile-ios in separate script 2023-01-21 19:05:56 +08:00
rust tell everything to use workspace tokio + add tokio git patch 2023-01-25 14:36:29 +00:00
scripts 🎉 Fix core on Android 2022-10-18 20:57:17 +08:00
src [ENG-355] Keychain integration (and some typesafety) (#558) 2023-02-07 12:03:12 +00:00
.buckconfig Mobile app (#352) 2022-08-08 20:29:14 -07:00
.eslintrc.js simplify eslint configs + add CI job 2023-01-22 16:01:15 +08:00
.gitattributes Mobile app (#352) 2022-08-08 20:29:14 -07:00
.gitignore Mobile app (#352) 2022-08-08 20:29:14 -07:00
app.json 🎉 Fix core on Android 2022-10-18 20:57:17 +08:00
babel.config.js Change relative path to ~ 2022-09-05 00:30:34 +03:00
eas.json cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
index.js cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
metro.config.js Mobile - File Import (#443) 2022-11-01 21:32:56 +08:00
package.json simplify eslint configs + add CI job 2023-01-22 16:01:15 +08:00
README.md Mobile Explorer (#512) 2023-01-11 14:39:19 +03:00
tailwind.config.js Mobile Explorer (#512) 2023-01-11 14:39:19 +03:00
tsconfig.json cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00

  • Make sure to run pnpm i if you make any change to the package mobile uses like assets.
  • If iOS build fails with node not found error, run echo "export NODE_BINARY=$(command -v node)" >> .xcode.env.local on mobile/ios/ directory.
  • If XCode can't find node, run ln -s "$(which node)" /usr/local/bin/node