Skip to content

feat: auth services v10 & wallet-service changes. - #104

Open
grvgoel81 wants to merge 37 commits into
masterfrom
feat/auth_services_v10_changes
Open

feat: auth services v10 & wallet-service changes.#104
grvgoel81 wants to merge 37 commits into
masterfrom
feat/auth_services_v10_changes

Conversation

@grvgoel81

@grvgoel81 grvgoel81 commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

Motivation and Context

  • Auth-service v10 changes for android and iOS
  • Wallet-service changes
  • Exaxmple updates

Jira Link: https://toruslabs.atlassian.net/browse/PD-4517, https://toruslabs.atlassian.net/browse/PD-4551

Description

  • Auth-service v10 changes
  • Wallet-service changes
  • Exaxmple updates

How has this been tested?

  • On Emulator

Screenshots (if appropriate):

Screen.Recording.2026-01-12.at.2.07.55.PM.mov
Screen.Recording.2026-01-12.at.2.10.28.PM.mov

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code requires a db migration.

Note

Medium Risk
Medium risk because it upgrades underlying native Web3Auth SDKs and changes the Flutter API surface (method names, params, and option schemas) used for authentication, keys, and wallet UI, which can break existing integrations.

Overview
Migrates the Flutter plugin to auth-service v10 and newer native SDKs. Android updates web3auth-android-sdk to 10.0.1, and iOS updates the pod dependency to Web3Auth ~> 12.0.1 with corresponding plugin-side init parsing and option mapping.

Updates the public Flutter API and payload schemas. login becomes connectTo, key getters are renamed to getPrivateKey/getEd25519PrivateKey, wallet services moves to showWalletUI (no ChainConfig), and request no longer includes chain config; options/config types shift from Network/Provider/LoginConfigItem to Web3AuthNetwork/AuthConnection/AuthConnectionConfig and add new fields (e.g., chains/default chain, analytics flag, wallet services config).

Refreshes the example apps and build tooling. Example app is updated to the new APIs (including an SFA sign-in demo using a generated ES256 JWT), Android build files/versions are adjusted, and iOS pods are regenerated; note example/android/gradle-wrapper.properties contains an accidental merge-conflict URL string before distributionPath.

Reviewed by Cursor Bugbot for commit bf17edb. Configure here.

Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
@grvgoel81 grvgoel81 changed the title feat: auth services v10 changes. feat: auth services v10 & wallet-service changes. Apr 15, 2025
grvgoel81 and others added 26 commits April 21, 2025 11:04
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <gaurav@tor.us>
…into feat/auth_services_v10_changes

# Conflicts:
#	android/build.gradle
Signed-off-by: Gaurav Goel <gaurav@tor.us>
grvgoel81 and others added 6 commits July 31, 2025 11:13
Signed-off-by: Gaurav Goel <gaurav@tor.us>
Signed-off-by: Gaurav Goel <grvgoel19@gmail.com>
Signed-off-by: Gaurav Goel <grvgoel19@gmail.com>
Signed-off-by: Gaurav Goel <grvgoel19@gmail.com>
@grvgoel81
grvgoel81 marked this pull request as ready for review January 12, 2026 07:19

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 6 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit bf17edb. Configure here.

Comment thread example/lib/utils.dart Outdated
Comment thread example/android/gradle/wrapper/gradle-wrapper.properties Outdated
Comment thread ios/Classes/SwiftWeb3AuthFlutterPlugin.swift
Comment thread lib/input.dart Outdated
Comment thread ios/Classes/SwiftWeb3AuthFlutterPlugin.swift Outdated
@grvgoel81

Copy link
Copy Markdown
Contributor Author

Checked today. All functions work including login, logout, enable & manage MFA, wallet services and signing message.

Screen.Recording.2026-07-29.at.7.20.28.PM.mov
Screen.Recording.2026-07-29.at.7.25.48.PM.mov

Comment thread example/android/gradle/wrapper/gradle-wrapper.properties Outdated
Comment thread ios/Classes/SwiftWeb3AuthFlutterPlugin.swift Outdated
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.

2 participants