Skip to content

1268 - inbox UI Android native integration #2800

Open
lealobanov wants to merge 9 commits into1194-activity-uifrom
1268-inbox-ui
Open

1268 - inbox UI Android native integration #2800
lealobanov wants to merge 9 commits into1194-activity-uifrom
1268-inbox-ui

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)

lealobanov and others added 2 commits February 24, 2026 17:12
- Add ADD_TOKENS to RNBridge.ScreenType and InitialRoute enums
- Handle ADD_TOKENS in ReactNativeActivity getScreenName/getRouteName
- Replace AddTokenActivity/AddCustomTokenActivity launch in
  WalletHeaderPresenter with ReactNativeActivity.launch(ADD_TOKENS)
  for both Flow and EVM accounts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When closeRN is called with a flowIdentifier, fetch the full TokenInfo
from the API, execute cadenceEnableToken, and push the transaction to
the bubble stack before closing the activity. Backward compatible — null
id retains the existing finish() behavior.

Closes #1275
@lealobanov lealobanov requested a review from a team as a code owner February 24, 2026 11:55
lealobanov and others added 7 commits February 24, 2026 19:57
EVM accounts should open AddCustomTokenActivity (manual ERC-20 address
import), while Flow accounts use the RN Add Tokens catalog screen.
The check was accidentally removed when the RN redirect was added.

Closes #1275
Close the activity on the UI thread right away so the user isn't waiting
on the API fetch and Cadence tx. The token lookup and tx submission
continue in the background; the bubble stack shows tx progress.

Closes #1275
The API response does not include a flowIdentifier field, so matching
solely on it.flowIdentifier always returned null and no transaction
was executed. contractId() constructs the same A.<address>.<contractName>
format that RN now passes, so fall back to it when flowIdentifier is absent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Delete AddTokenActivity, NftCollectionListActivity, and all associated
presenters, adapters, view models, dialogs, and layout files that were
replaced by the React Native screens. Remove their AndroidManifest entries.

Closes #1286
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.

1 participant