Repository navigation
feat(ios): funding core integration — FFI bindings, session model, provider listing, worker exits - #1866
Open
filvecchiato wants to merge 24 commits into
Open
feat(ios): funding core integration — FFI bindings, session model, provider listing, worker exits#1866filvecchiato wants to merge 24 commits into
filvecchiato wants to merge 24 commits into
Conversation
…o hosts/ios-funding-2-core
Contributor
|
This pull request touches an app, which is not built by default. Add a label for each build you want:
Each starts as soon as it is added and follows the branch from then on. |
This was referenced Nov 3, 2026
Open
Contributor
Bundle size reportCompared with
WebAssembly modules
Changed files (10)
Commit: 2292a6f |
Contributor
|
CI Status: 24 required jobs green, 16 passed and 8 skipped by path filter. All job results
Signing credentials: valid as of 2026-11-04 Commit |
…o hosts/ios-funding-2-core
…s-funding-2-core # Conflicts: # hosts/ios/polkadot-appTests/Products/TrUAPIWorkerManagerTests.swift
…o hosts/ios-funding-2-core
…o hosts/ios-funding-2-core
This branch has not been deployed
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.
Part of #1267. Stacked on #1344 (
funding/host-gaps) and #1865.The host side of the funding core, with no UI yet.
TrUAPIHostbindings for funding and the README for them.setFundingkeeps the bridge only when it was installed, assetTopUpdoes.TrUAPIHostRuntimeProviderlists the funding providers with the core when it builds the runtime. The onesfunding_config.providersnames come first (from remote config,FundingConfig), then each bundled one the config does not name (BundledProducts.fundingProviders, from manifests withincludes.funding; first app use ofBundledProduct.workerManifest()). It lists them again whenever a remote-config refresh changes them (followRefreshes, which skips a refresh that lists the same ones).funding_configis read field by field (FundingConfig.string), soonrampUrl/offrampUrlstill read when the object also carries theproviderslist.TrUAPIWorkerManagerreportsworkerExitedto the core instead of rebooting it. The core restarts it with backoff while references remain.RustHostRuntimeBridgeforwardsworkerCrashing; the notice for it is wired in feat(ios): wire the CASH card and the core to the funding overlay; remove the getcash path #1345.Modules/Funding/Model:FundingSessionBookkeeps what the core pushes;FundingFlowModeland its types/derivations, cash, currencies, countries, networks, provider brand, failure texts, wording, resume marker andFundingRuntime.FundingRecord/FundingActivityItemcover history.AppFundingHostBridgeimplements the core'sFundingHostBridgeover aFundingOverlayPresenting. Number formatters are built once per configuration (FundingNumberFormatters).Funding.xcstringsstring catalog, holding the strings this part's code uses. Each later part adds the strings its screens use.providers), provider refresh dedupe, bundled funding providers, cash, cancel presentation, quotes, activity status, wording bands and unpaid cancels, session book acknowledgement (once, summary-only endings, in flight, retried after a failure), worker-manager exits.Nothing installs the bridge or shows UI yet: the Purse UI lands in #1867, the overlay screens in #1868, and the bridge is installed in #1345.
Stack (iOS funding, review bottom-up):
main)funding/host-gaps, feat(truapi)!: crypto networks, learned limits, retrying, payout and refunds for the funding screens #1344)Split out of #1345 as requested in review.