Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

bug: App Stops working when change passcode on iPhone

Open AdityaSingh-02 opened this issue 8 months ago • 7 comments

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

  1. Go to settings
  2. opens Security and privacy
  3. Set a passcode if you don't have one
  4. 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

AdityaSingh-02 avatar Apr 22 '25 06:04 AdityaSingh-02

Can you send a video?

diegolmello avatar Apr 22 '25 12:04 diegolmello

https://github.com/user-attachments/assets/15875ac3-c808-4110-8bf2-9321cf148766

AdityaSingh-02 avatar Apr 22 '25 12:04 AdityaSingh-02

@diegolmello is this issue open to work

blazethunderstorm avatar Jun 08 '25 06:06 blazethunderstorm

Is this issue open to work @AdityaSingh-02 @diegolmello ?

Siddharth48-p avatar Jul 27 '25 02:07 Siddharth48-p

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

Rohit3523 avatar Jul 27 '25 08:07 Rohit3523

I have been struggling with this issue all day, submitted a PR #6547 that provides a workaround fix.

paviad avatar Aug 11 '25 18:08 paviad

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.

DSingh0304 avatar Nov 12 '25 18:11 DSingh0304