bug: App Stops working when change passcode on iPhone
Describe the Bug
When you try to change app passcode on an iphone the app hangs and stops working, I think this is because of the 2 modals opening back to back the first one for validating the user and second one for changing passcode
Steps to Reproduce
- Go to settings
- opens Security and privacy
- Set a passcode if you don't have one
- Try to change it
Expected Behavior
No response
Actual Behavior
No response
Rocket.Chat Server Version
7.6
Rocket.Chat App Version
4.59
Device Name
iPhone 13
OS Version
iOS 18
Additional Context
No response
Can you send a video?
https://github.com/user-attachments/assets/15875ac3-c808-4110-8bf2-9321cf148766
@diegolmello is this issue open to work
Is this issue open to work @AdityaSingh-02 @diegolmello ?
Is this issue open to work @AdityaSingh-02 @diegolmello ?
I can't see any linked PR to this issue so yeah you can work on it
I have been struggling with this issue all day, submitted a PR #6547 that provides a workaround fix.
Hi! I've submitted PR #6789 to address this issue since the existing PR seems to be facing some check failures.
Summary:
- Adds 300ms delay between modals to fix iOS hang
- Includes error handling for authentication cancellation
- Unit tests added and all checks passing ✅
Hope this helps move the fix forward! Open to feedback or collaboration.