Closed AndrewGable closed 1 month ago
cc @staszekscp @mateuuszzzzz - Do either of you want to look into this one?
Reopening the issue. Code fix has been made but we need to test this within a Hybrid app build.
@staszekscp Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Problem
We are receiving
ANR triggered by main thread waiting for too long
on HybridApp.Steps:
9.0.13.4
or greaterExpensify isn't responding
https://github.com/user-attachments/assets/c8330038-3c42-481e-b212-fdd4766b4470
Solution
I believe updating the function
LocationManager.getLastLocation
which uses the depreciated method:FusedLocationApi.getLastLocation
will fix the issue: https://stackoverflow.com/a/76266778