mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-02 02:04:45 +03:00
Persist a refresh attempt ID before native token refresh requests on iOS and Android, and send it in the `x-affine-refresh-attempt` header. Retain rotated iOS token pairs across transient Keychain write failures, and forward structured auth error codes from `AuthPlugin`. Closes #15975 Co-authored-by: DarkSky <darksky2048@gmail.com>
Android
AFFiNE Android app.
Setup
-
set CARGO_HOME to your system environment
-
add
rust.cargoCommand={replace_with_your_own_cargo_home_absolute_path}/bin/cargorust.rustcCommand={replace_with_your_own_cargo_home_absolute_path}/bin/rustcto App/local.properties
Build
- yarn install
- BUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/android build
- yarn affine @affine/android cap sync
- yarn affine @affine/android cap open android