Bug: Forgot PIN screen disappears after moveRnTaskToFront()
Environment:
- SDK: @circle-fin/w3s-pw-react-native-sdk@1.1.2
- React Native: 0.76.9
- Expo: 52.0.46
- Navigation: expo-router@4.0.15
- Platform: iOS and Android
Expected behavior:
When forgotPin is triggered, the SDK UI should show the PIN recovery screen in React Native.
Observed behavior:
forgotPin is triggered
WalletSdk.moveRnTaskToFront() is called (with delay)
- The SDK screen closes/disappears
- The PIN recovery UI never appears
Notes:
execute() is correctly called before listener
- Works fine in static, single-view RN app
- Fails consistently when using
expo-router
Conclusion:
Likely a conflict between Circle’s native SDK and React Native root view management in navigation-based apps.
Bug: Forgot PIN screen disappears after moveRnTaskToFront()
Environment:
Expected behavior:
When
forgotPinis triggered, the SDK UI should show the PIN recovery screen in React Native.Observed behavior:
forgotPinis triggeredWalletSdk.moveRnTaskToFront()is called (with delay)Notes:
execute()is correctly called before listenerexpo-routerConclusion:
Likely a conflict between Circle’s native SDK and React Native root view management in navigation-based apps.