gettting this error [TypeError: _reactNative.Linking.removeEventListener is not a function (it is undefined)] on calling login function
Opened this issue · 0 comments
antiergit commented
on pressing button gmail is opening after successful signin i am falling in catch giving this error
[TypeError: _reactNative.Linking.removeEventListener is not a function (it is undefined)] , Although same code working fine for ios and i am getting web3auth response
using following code
try {
await this.web3auth.login({
redirectUrl: "myUrl",
mfaLevel: 'none',
loginProvider: loginProvider,
});
this.setState({ isLoading: false });
console.log('chk res web3Auth:::::res', this.web3auth);
console.log('chk res web3Auth:::::userInfo', this.web3auth.state.userInfo.name);
console.log('chk res web3Auth:::::privKey', this.web3auth.state.privKey);
} catch (error) {
this.setState({ isLoading: false });
//await this.web3auth.logout();
console.log('chk error web3Auth:::::res', error);
}