Repository navigation
feat(truapi): native bridge for funding and top-ups - #1209
Closed
filvecchiato wants to merge 2 commits into
Closed
filvecchiato wants to merge 2 commits into
filvecchiato wants to merge 2 commits into
Conversation
Contributor
Bundle size reportCompared with
WebAssembly modules
Changed files (10)
Commit: 7881670 |
Contributor
|
CI Status: not green, 1 item needs attention.
All job results
Signing credentials: failure as of 2026-10-06, a release may fail Commit |
Collaborator
Author
|
Consolidated into #1230, which carries these commits. |
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.
iOS and Android hosts drive funding through
NativeTrUApiHostRuntime:set_funding_callbacksinstalls the overlay (present_funding,funding_session_changed).set_top_up_callbacksinstalls the top-up engine; the host answers a top-up's current status and pushes later ones withnotify_top_up_status. A stream shows each status once, in order, and ends on the verdict; one subscriber reaching the verdict never ends another's stream.enable_funding_conversion,open_funding,quote_funding_deposit,assign_funding_depositandfunding_sessionrun the on-ramp.Canonical types cross directly with UniFFI derives (
FundingPresentOutcome,HostPaymentTopUpError, the funding session types). Amounts cross as decimal strings, since Swift and Kotlin have no 128-bit integer. The iOS package compiles against the new bindings locally; Kotlin is left to theandroid-bindingsjob.Part of #1142