Bug #4406
Bug #3562: Android Rider :- Node API Integration
Android Rider:- cancelTrip Node API Integration
0%
Impact Analysis
Cancel trip while pickup and enroute
Need to verify trip request report
Updated by Sreedevi K S about 1 year ago
- Due date set to 03/27/2025
- Start date changed from 03/05/2025 to 03/26/2025
- Branch name set to sprint-25_sreedevi_4406
Updated by Sreedevi K S 10 months ago
- Status changed from Reopened to Resolved
Issue:
When the "Cancel Trip" icon is clicked, a popup is shown asking for confirmation.
If the user selects "No", a loader appears and doesn't stop, eventually causing the app to crash after a few seconds.
Root Cause:
The loader was not hidden after the successful response from the GetCancelReason API.
Additionally, there was an issue with the improper initialization of the AlertDialog, which might lead to unexpected behavior or crashes.
Fix Implemented:
Loader Handling : Added logic to dismiss/hide the loader immediately after receiving a successful response from the GetCancelReason API.
Alert Dialog Initialization : Reorganized and safely initialized the AlertDialog .