Web3AuthFlutter launchWalletServices path works on iOS but not on Android

I’m using the following code to launch a specific wallet service screen in my app using Web3AuthFlutter:

try {
await Web3AuthFlutter.launchWalletServices(
ChainConfig(
chainId: WalletConstants.chainId,
rpcTarget: WalletConstants.rpcTargetUrl,
),
path: ‘wallet/transfer-token’
);
} on UserCancelledException {
log(“User cancelled wallet view.”);
} catch (e) {
log(“Wallet launch error: $e”);
}

The problem is that the path works perfectly fine on iOS , and the wallet opens the 'wallet/transfer-token' screen correctly. However, on Android , the path does not open or navigate to the desired wallet screen.

There is no crash or exception thrown, but the path-based navigation inside the wallet does not seem to work on Android the way it does on iOS.

Thanks for sharing the details and code snippet! Here’s a summary of your issue for the support team:


Issue Summary

  • SDK: Web3Auth PnP Flutter SDK
  • Platform:
    • iOS: Works as expected (path navigation to ‘wallet/transfer-token’ screen)
    • Android: Path-based navigation does not work (no crash or exception, just no navigation)
  • Code Used:
    try {
      await Web3AuthFlutter.launchWalletServices(
        ChainConfig(
          chainId: WalletConstants.chainId,
          rpcTarget: WalletConstants.rpcTargetUrl,
        ),
        path: 'wallet/transfer-token'
      );
    } on UserCancelledException {
      log("User cancelled wallet view.");
    } catch (e) {
      log("Wallet launch error: $e");
    }
    

Next Steps / Questions:

  • Can you confirm which version of the Web3AuthFlutter SDK you’re using?
  • Are there any differences in wallet app versions or configurations between your iOS and Android devices?
  • If possible, could you provide a screenshot or screen recording of the Android behavior for further clarity?

Possible Solution / Reference:

  • This may be a platform-specific implementation issue. Please ensure you’re using the latest version of the Web3AuthFlutter SDK, as there may be recent fixes.
  • Review the Flutter SDK documentation for launchWalletServices to check for any platform-specific notes.
  • If you’re using a custom wallet or a specific wallet app, confirm that deep linking or path navigation is supported on Android for that wallet.

Let us know the SDK version and any additional details, and we’ll help you further!

Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours

I am using Web3AuthFlutter SDK version: 6.2.0 .
Both the iOS and Android devices are running the same wallet app version and have identical configurations.
The issue is only occurring on Android — the path: 'wallet/transfer-token' works flawlessly on iOS but fails to navigate or open correctly on Android.