Skip to content

chore: update Flutter SDK demo to 1.12.0 - #2

Open
matthew1809 wants to merge 12 commits into
mainfrom
devin/1778669438-bump-dynamic-sdk-to-1.3.5
Open

chore: update Flutter SDK demo to 1.12.0#2
matthew1809 wants to merge 12 commits into
mainfrom
devin/1778669438-bump-dynamic-sdk-to-1.3.5

Conversation

@matthew1809

@matthew1809 matthew1809 commented May 13, 2026

Copy link
Copy Markdown

Summary

Updates the demo to dynamic_sdk and dynamic_sdk_web3dart ^1.12.0 (latest published release), adds the required appOrigin, and adapts wallet metadata rendering to the SDK's nullable fields.

Adds web3dart as a direct dependency, regenerates the lockfile, and replaces the stale counter test with wallet-card coverage for nullable and authenticated metadata.

Validated with flutter analyze (no issues).

Link to Devin session: https://dynamicxyz.devinenterprise.com/sessions/14d3c1a800de4450a9af05ea723c15b1
Requested by: @matthew1809

The current dependencies pinned the alpha series (^0.0.1-alpha.4), which
predates the public 1.x line on pub.dev. Bump both packages to the
latest stable 1.3.5 so the example app exercises the same SDK surface
that consumers install today, including Bitcoin / TON / SUI support.

Also set the now-required `appOrigin` field on `ClientProps`, which
became mandatory in dynamic_sdk 1.3.5.
@devin-ai-integration

Copy link
Copy Markdown
Original prompt from mfoyle

Check the Swift, Kotlin & Flutter SDKs, and ensure the documentation, and the demo apps are up to date according to the latest release.

If anything is out of sync, check if there aren't existing PRs to update and if so, just ensure they have the changes needed and move on.

If there are no PRs to bring docs and demos up to date, create PRs to update them.

Interact only with the following repositories:

Swift SDK:
https://github.com/dynamic-labs/sdk-swift-with-webview

Flutter SDK:
https://github.com/dynamic-labs/flutter-sdk

Kotlin SDK:
https://github.com/dynamic-labs/android-sdk-with-webview

Documentation:
https://github.com/dynamic-labs/documentation

Demo apps:

Swift:
https://github.com/dynamic-labs-oss/swift-sdk-and-sample-app

Flutter: https://github.com/dynamic-labs-oss/flutter-example-app

Tag @Nikola Garabandić in your session for review when you're done

@devin-ai-integration

Copy link
Copy Markdown

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration

Copy link
Copy Markdown

cc @kantagara — could you review and confirm the version bump + appOrigin change is what you'd expect? (I used the wrong handle in the PR description.)

@devin-ai-integration

Copy link
Copy Markdown

Re-checked vs the latest flutter-sdk main (still at v1.3.5, no newer publish on pub.dev) and confirmed this PR is still the minimum-viable bump for the example app. The single behavioral change required by 1.3.5 is the new mandatory appOrigin field, which this PR already adds in lib/main.dart.

cc @kantagara — ready for review.

@devin-ai-integration

Copy link
Copy Markdown

Re-verified this PR on 2026-05-18: still aligned with flutter-sdk v1.3.5 on pub.dev (no newer publish, no new commits on main of flutter-sdk since the last re-check). The required behavioral change in 1.3.5 is the new mandatory appOrigin field, which this PR adds in lib/main.dart.

cc @kantagara — ready for review.

@devin-ai-integration

Copy link
Copy Markdown

Re-verified on 2026-05-19 against current state of all three SDKs:

  • flutter-sdk main has no commits beyond v1.3.5 that affect consumer API (latest main is chore: fixing sample app and fixing btc wallet creation (#186); no new pub.dev publish — still 1.3.5 as of 2026-04-30).
  • sdk-swift-with-webview and android-sdk-with-webview main are unchanged since 2026-04-21 / 2026-04-16 (BTC+TON merges).
  • Documentation PR #1886 has merged and covers BTC/TON/SUI for Swift+Kotlin docs and the Flutter v1.3.x changelog.
  • Swift demo app swift-sdk-and-sample-app is at tag 1.0.12 with BTC/TON screens — already in sync.

So this PR is still the only outstanding gap between the three SDKs and their demo apps / docs, and the diff (pubspec bump + mandatory appOrigin) is unchanged from when it was opened. CI is green. cc @kantagara — please take a look when you can.

@devin-ai-integration

Copy link
Copy Markdown

Re-verified on 2026-05-20 as part of another SDK-docs/demo catch-up sweep:

  • dynamic_sdk and dynamic_sdk_web3dart latest on pub.dev are both still 1.3.5 (no newer publish since 2026-04-30).
  • Flutter SDK main is also still at v1.3.5 (open PR #193 bumps to 1.3.6 but isn't merged/published yet).
  • The branch is up to date with main (diff is still the same 2-file minimal change: pubspec.yaml versions + appOrigin in lib/main.dart).
  • semgrep CI is passing; no other required checks.

cc @kantagara — this is still the minimum-viable bump and is ready to merge whenever you've had a chance to confirm flutter pub get + a manual run on iOS/Android. Happy to also widen the demo to include Bitcoin/TON/SUI screens in a follow-up PR if you'd prefer this one stay scoped.

@devin-ai-integration

Copy link
Copy Markdown

Re-verified on 2026-05-21:

  • dynamic_sdk@1.3.5 and dynamic_sdk_web3dart@1.3.5 remain the latest published stable on pub.dev. (flutter-sdk@v1.3.6 is tagged, but #193 hasn't merged to main and 1.3.6 hasn't published yet — so ^1.3.5 is still the correct floor.)
  • The only behavioral change required by 1.3.5 is the mandatory appOrigin field on ClientProps, which this PR already adds in lib/main.dart.
  • PR is still mergeable, no conflicts, CI green.

cc @kantagara — could you take another look at this? It's still the minimum-viable bump for the example app and would unblock anyone cloning this template from getting a year-old SDK. Happy to follow up with a ^1.3.6 bump in a separate PR once flutter-sdk#193 merges and pub.dev publishes.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk to ^1.3.5 (catch up to latest pub.dev release) chore: bump dynamic_sdk to ^1.3.6 (catch up to latest pub.dev release) May 22, 2026
v1.3.6 has not yet been published to pub.dev (latest published is v1.3.5 from 2026-04-30). Bumping back from ^1.3.6 to ^1.3.5 so the example app resolves cleanly. Once v1.3.6 is published on pub.dev, follow up with another bump.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk to ^1.3.6 (catch up to latest pub.dev release) chore: bump dynamic_sdk to ^1.3.5 (current pub.dev latest) May 27, 2026
@devin-ai-integration

Copy link
Copy Markdown

Reverted the ^1.3.6 bump back to ^1.3.5 in fa37d96v1.3.6 is still not published on pub.dev (latest is 1.3.5 from 2026-04-30; flutter-sdk PR #193 hasn't merged), so ^1.3.6 would have broken flutter pub get for anyone cloning today.

PR is back to the minimum-viable diff (pubspec bump + mandatory appOrigin). CI green. cc @kantagara — ready when you are.

v1.4.0 is now the latest published release on pub.dev (released 2026-05-29),
superseding the previously pinned ^1.3.5. Regenerated pubspec.lock and the
macOS/Windows generated plugin registrants via flutter pub get.
@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk to ^1.3.5 (current pub.dev latest) chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.4.0 Jun 1, 2026
@devin-ai-integration

Copy link
Copy Markdown

@kantagara (Nikola Garabandić) — ready for review. Updated this PR to bump dynamic_sdk + dynamic_sdk_web3dart to ^1.4.0 (latest on pub.dev, published 2026-05-29), superseding the earlier ^1.3.5 pin. pubspec.lock and the macOS/Windows generated plugin registrants were regenerated via flutter pub get (Flutter 3.35.5) and resolution is verified. CI (semgrep) is green.

@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.4.0 chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.5.0 Jun 10, 2026
@devin-ai-integration

Copy link
Copy Markdown

Updated to ^1.5.0 (current latest on pub.dev). cc @kantagara for review.

@devin-ai-integration

Copy link
Copy Markdown

Re-verified on 2026-06-19: This PR is still correct and covers the bump to ^1.5.0 with the required appOrigin field. CI is green.

@kantagara — ready for review.

@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.5.0 chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.6.0 Jun 24, 2026
@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.6.0 chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.8.0 Jul 3, 2026
@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.8.0 chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.9.0 Jul 6, 2026
@devin-ai-integration

Copy link
Copy Markdown

Re-verified 2026-07-10: dynamic_sdk / dynamic_sdk_web3dart latest on pub.dev is 1.9.0, and this PR now pins both to ^1.9.0 with pubspec.lock resolving to 1.9.0. CI green, mergeable, no open threads. This is the only outstanding docs/demo gap across the Swift, Kotlin & Flutter SDKs:

  • Flutter docs flutter/changelog.mdx already tops out at v1.9.0 (matches pub.dev).
  • Swift demo app (swift-sdk-and-sample-app) ships the SDK xcframework at webview 4.90.0 and includes isRawScalarImport — in sync with sdk-swift-with-webview.
  • Kotlin sample app builds against the SDK source module directly (webview 4.90.0) — in sync with android-sdk-with-webview.

@kantagara (Nikola Garabandić) — ready for review/merge.

@devin-ai-integration devin-ai-integration Bot changed the title chore: bump dynamic_sdk + dynamic_sdk_web3dart to ^1.9.0 chore: update Flutter SDK demo to 1.11.0 Jul 13, 2026
@devin-ai-integration

Copy link
Copy Markdown

@kantagara (Nikola Garabandić) — ready for review. Bumps the demo to dynamic_sdk/dynamic_sdk_web3dart ^1.11.0, adapts wallet metadata rendering to nullable SDK fields, adds web3dart as a direct dep, and replaces the counter test with wallet-card tests. flutter analyze + flutter test pass; CI green.

@devin-ai-integration devin-ai-integration Bot changed the title chore: update Flutter SDK demo to 1.11.0 chore: update Flutter SDK demo to 1.12.0 Jul 22, 2026
@devin-ai-integration

Copy link
Copy Markdown

Bumped dynamic_sdk + dynamic_sdk_web3dart to ^1.12.0 (latest on pub.dev, published 2026-07-21), superseding the earlier ^1.11.0. pubspec.lock regenerated (resolves 1.12.0); flutter analyze and flutter test both pass.

@kantagara (Nikola Garabandić) — ready for review.

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.

3 participants