“@web3auth/react-native-sdk”: “^3.5.0”,
“react”: “18.2.0”,
“react-native”: “0.71.7”,
AndroidManifeset.xml
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="com.goo***rning"/>
</intent-filter>
My Code:
init
const web3Auth = new Web3Auth(WebBrowser, {
clientId:
'BOqFFrffpvv42R--JrNPJD6M******8Kt03O8NFVgwRP***HH_gCowy-uUXjkCSye3KSihBIE9_LM',
network: OPENLOGIN_NETWORK.TESTNET,
redirectUrl: 'com.go***ing://openlogin',
});
login in:
const state = await web3Auth.login({
loginProvider:‘google',
redirectUrl:'com.go***ing://openlogin',
});
Error code:
could not validate redirect, please whitelist your redirect url: com.g*****orning://openlogin for provided clientId BOqFFrffpvv42R–JrNPJD6MbXhP8aYCg68Kt03O8NFVg*******_gCowy-uUXjkCSye3KSihBIE9_LM at https://dashboard.web3auth.io. Also, this project is on testnet network. Please ensure the the used Client ID belongs to this network.
I am confident that I have configured both iOS and Android in the same way, and while it works fine on iOS, there is an issue on Android.
I am experiencing an issue of inability to redirect on the Android platform, while the same configuration works fine on iOS.
Please help