Skip to content

Conversation

@lealobanov
Copy link
Collaborator

Related Issue

Closes #???

Summary of Changes

Need Regression Testing

  • Yes
  • No

Risk Assessment

  • Low
  • Medium
  • High

Additional Notes

Screenshots (if applicable)

- Saves mnemonic to secure storage using Wallet.store()
- Creates EOA Account in AccountManager (no Firebase UID)
- Initializes WalletManager with new account
- Returns success/error response
- Remove generateRecoveryPhrase() (using TypeScript implementation)
- Remove createEOAAccount() stub (replaced by saveMnemonic)
- Clean up unused code per code review feedback
- Resolved import conflicts in NativeFRWBridge.kt
- Updated build.gradle to read GitHub credentials from local.properties
@lealobanov lealobanov marked this pull request as ready for review December 11, 2025 17:06
@lealobanov lealobanov requested a review from a team as a code owner December 11, 2025 17:06

override fun generateSeedPhrase(strength: Double?, promise: Promise) = authHandler.generateSeedPhrase(strength, promise, ::bridgeModelToWritableMap)

override fun getRegistrationSignature(mnemonic: String, promise: Promise) = authHandler.getRegistrationSignature(mnemonic, promise)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you also need the EVM signature and address as well

- Resolved UserRegisterUtils.kt conflict (kept HEAD formatting)
- Resolved BridgeModels.kt conflict (kept ProfileType enum name)
- Resolved NativeFRWBridge.kt conflict (kept delegate handler pattern)
- Accepted deletion of AccountSwitchDialog.kt (replaced by ProfileSwitchDialog)
- Adds migrateProfileTypes() to AccountManager.init()
- Determines ProfileType based on signature algorithm for legacy accounts
- ECDSA_P256 = Secure Enclave = HARDWARE
- ECDSA_secp256k1 or other = Recovery Phrase/Keystore = FULL
- Saves migrated accounts back to cache
- Set WalletManager.setEoaDisabled(true) in createWalletFromPrefix when
  HardwareBackedKeyException is caught (Secure Enclave accounts)
- Set WalletManager.setEoaDisabled(false) for regular prefix-based keys,
  HD mnemonic wallets, and keystore private key imports
- Remove unreliable ProfileType migration based on signature algorithm
- This approach correctly handles overlay installations since the flag
  is set each time a wallet is initialized in WalletCreationHelper
- Rename getRegistrationSignature -> getV4RegistrationSignatures
- Rename return keys: signature -> flowSignature, evmAddress -> eoaAddress
- Update log messages to match new method name
Base automatically changed from onboarding-entrypoint to dev December 17, 2025 01:59
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.

2 participants