Protocol message contained an invalid tag (zero) error

I am using Flutter Web3auth Sdk, but while using "( Web3AuthFlutter.init() method)
await Web3AuthFlutter.init(
Web3AuthOptions(
clientId:
‘BLRAxknfY5e8X-uStHfvKkphn_6X1WUvDC1-_LBqg6RjD6vrQCXaUPPsEe_i15B28Mc2Wvs5zjF-ha2pL-nYZKA’,
network: Network.testnet,
redirectUrl: redirectUrl,
whiteLabel: WhiteLabelData(
dark: true,
name: “Web3Auth Flutter App”,
theme: themeMap,
),
),
);
", i am getting this error:

“PlatformException (PlatformException(error, Protocol message contained an invalid tag (zero)., Protocol message contained an invalid tag (zero)., null))”.

I am getting this error on my personal project as well as on the the example app that your devs have mentioned the dev docs.

I am also facing the same issue especially with signed released builds in certain high end Samsung and one plus devices

@wivesofsolomon Can you attach error screenshots/logs? Also your code snippet.

I have tried below code and its working in example app. Please retry below code.

await Web3AuthFlutter.init(
Web3AuthOptions(
clientId:
“BLRAxknfY5e8X-uStHfvKkphn_6X1WUvDC1-_LBqg6RjD6vrQCXaUPPsEe_i15B28Mc2Wvs5zjF-ha2pL-nYZKA”,
network: Network.testnet,
redirectUrl: redirectUrl,
whiteLabel: WhiteLabelData(
dark: true,
name: “Web3Auth Flutter App”,
theme: themeMap,
),
),
);

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.