Files
AFFiNE/packages/frontend/apps/android
CommaBotandDarkSky 7e27087a53 fix(mobile): recover native auth refresh after response loss (#15977)
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>
2026-11-30 18:16:06 +00:00
..
2026-09-20 13:01:49 +08:00

Android

AFFiNE Android app.

Setup

  • set CARGO_HOME to your system environment

  • add

    rust.cargoCommand={replace_with_your_own_cargo_home_absolute_path}/bin/cargo

    rust.rustcCommand={replace_with_your_own_cargo_home_absolute_path}/bin/rustc

    to 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