You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
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"
The text was updated successfully, but these errors were encountered:
ceichinger
changed the title
Login and Logout working in DEV but for Release build configuration (rn-bare)
Login and Logout working in DEV but not for Release build configuration (rn-bare)
Nov 24, 2023
Thanks for your issue. Ideally the best place for such issues and questions is Our Community Portal, causing the delay in reply here.
Additionally, I was trying to reproduce the error you mentioned here, however can't seem to do so. We have our quick starts where we have also published a build with the latest version of the SDK and the login, logout and everything seem to work totally fine. You maybe check it out as well: https://web3auth.io/docs/quick-start?product=PNP&sdk=PNP_REACT_NATIVE&framework=IOS&stepIndex=0
Please try reproducing this on our quick start app locally if you can. There can be multiple additional reason behind it, from wrong polyfills to incompatible versioning issues. Please make sure to check the SDK reference and polyfill troubleshooting guide as well.
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):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:
Used packages:
The text was updated successfully, but these errors were encountered: