Skip to content

Release/r3.1.0#2864

Open
jaymengxy wants to merge 17 commits intodevfrom
release/r3.1.0
Open

Release/r3.1.0#2864
jaymengxy wants to merge 17 commits intodevfrom
release/r3.1.0

Conversation

@jaymengxy
Copy link
Collaborator

@jaymengxy jaymengxy commented Mar 12, 2026

Closes #2803

Summary

  • Add KeyStorageManager and KeyStorageMigration to store mnemonic / private key / Android Keystore prefix independently of the Account object
  • Update WalletCreationHelper, CryptoProviderManager, AuthBridgeHandler, NativeFRWBridge, KeyStoreRestoreViewModel to write to / read from new storage
  • Add buildLocalKeyAccounts() in AccountManager to surface recoverable accounts whose key survives but Account cache was lost
  • Bump flow-wallet-android 0.2.1 → 0.2.4 (picks up SeedPhraseKey.load() and CryptoProviderKey identifier storage helpers)
  • Fix: switch current account set

Test Plan

  • New wallet creation stores key in frw_sp_storage/ and survives app-cache clear
  • Private key import stores key in frw_pk_storage/ and survives app-cache clear
  • Android Keystore prefix stored in frw_akp_storage/ and wallet recreates correctly
  • Migration runs once on first launch with existing accounts and is idempotent
  • Orphaned-key accounts appear in account switcher after clearing Account cache
  • Switch via LocalSwitchAccount completes login and re-adds account normally

🤖 Generated with Claude Code

@jaymengxy jaymengxy requested a review from a team as a code owner March 12, 2026 08:00
@github-actions
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android 3.1.0 Sanity Check

1 participant