Hello Team,
the whole login & logout process (bare implementation, not expo) is working fine on iOS in a DEV build. But as soon as I run npx react-native run-ios --configuration Release the login does not open the browser (both for Device and Simulator):
await web3auth.login({
loginProvider: LOGIN_PROVIDER.GOOGLE,
redirectUrl: 'myscheme://openlogin',
})
Also logout seems to be broken in production build with no feedback.
Init seems to be working: In case I do not call init the corresponding error message appears.
Just for testing I tried to open WebBrowser directly and the browser is shown:
import * as WebBrowser from '@toruslabs/react-native-web-browser';
WebBrowser.openAuthSessionAsync(
'https://google.com',
'securasign://openlogin',
);
Used packages:
- "@toruslabs/react-native-web-browser": "^1.1.0"
- "@web3auth/react-native-sdk": "^5.1.0"
- "react-native": "0.72.6"
- "react-native-encrypted-storage": "^4.0.3"