Repository navigation
feat(bank): Bank Link wrapper over the native SDKs - #96
Closed
botinc-agent[bot] wants to merge 6 commits into
Closed
botinc-agent[bot] wants to merge 6 commits into
botinc-agent[bot] wants to merge 6 commits into
Conversation
arosasg
marked this pull request as ready for review
November 23, 2026 00:35
Collaborator
|
Codex review ( 💡 Code reviewReviewed commit: No blocking findings in commit Verdict: APPROVE |
arosasg
marked this pull request as draft
November 23, 2026 12:03
Collaborator
Collaborator
|
Closing: superseded by #97, which is merged (the same files plus the review fixes, in a history that follows this repository's privacy gate). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
React Native apps had no standalone Bank Link entry point, and the Android adapter was written against a shape the native API does not expose: types from the wrong package, fields read off the result instead of its wrapped
success/exitvalues, and enum constants (OPENED) where JavaScript expects the contract's wire names (opened). A declined presentation left the promise unsettled, every payload key native sent reached listeners, andlink_idwas optional although both bridges send it asnullbefore the id is known.Solution
presentBankLink,resumeBankLink,handleBankLinkReturnandonBankLinkEvent, mapping native result variants and enum wire names on each platform.link_idis required and nullable.handleBankLinkReturnbefore resuming; the README unsubscribes infinally.Verification
b1a89fb.e8f3c9b): packageme.didit.sdk.features.bank.link,BankLinkResult.Success.success/.Exit.exit,.wirenames, and the Boolean frompresentBankLink.