You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-10-23] iOS - Camera not displaying after returning from background #71608
The iOS app camera is not displaying correctly when returning from the background. It is toggling between working and not displaying on every background>reopen. the app eventually crashes.
Navigate to workspace chat that user has been invited to
Create Expense > Scan receipt > Toggle quick fire mode with the button
Background app while camera view should be displayed
Continue to reopen app and then background it again
Update: A second case I reproduced 13th oct is a new user activating the camera permission for the first time to take a receipt scan. I think the requirements are:
Clean install of the iOS app
Authenticate to user invited to a workspace
Navigate to their workspace chat
FAB > Scan receipt
Camera view not displayed
Switch to manual expense, then back to scan receipt
Camera works as expected
It seems to have been occuring for a while now, I tested as far back as 9.2.7.0 and it is occuring.
ScreenRecording_09-30-2025.12-32-09_1.MP4
Discovered via this bug, in which the app ALSO crashes after being backgrounded a few times.
Solution
Possibly related to the manual incremental setCameraKey logic here.
Hey @Julesssss can you confirm thats still happening? Because yesterday I was able to reproduce this just once and after syncing with main not able any more. The only thing is that when I am comming back from background there is a small flicker of the camera view, which is caused by changing the key (which you mentioned in the issue description). This changing the key everytime when we are comming from background so its always remounting the Camera view. I think this is the main issue here. As I understand this changing of the key was added to fix this issue #64295, I think its a bit a hacky solution so I think we should stablize the key passed to Camera view and find different solution for the mentioned issue.
changed the title [-]iOS - Camera not displaying after returning from background[/-][+][Due for payment 2025-10-23] iOS - Camera not displaying after returning from background[/+]on Oct 16, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.32-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Julesssss@RachCHopkins@kubabutkiewicz The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Activity
melvin-bot commentedon Sep 30, 2025
Triggered auto assignment to @RachCHopkins (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.Julesssss commentedon Sep 30, 2025
Asking for help from expert contributors here.
RachCHopkins commentedon Oct 8, 2025
Bumped the thread.
kubabutkiewicz commentedon Oct 8, 2025
Hello, Jakub from Callstack here, I would like to work on this issue!
kubabutkiewicz commentedon Oct 9, 2025
Hey @Julesssss can you confirm thats still happening? Because yesterday I was able to reproduce this just once and after syncing with main not able any more. The only thing is that when I am comming back from background there is a small flicker of the camera view, which is caused by changing the key (which you mentioned in the issue description). This changing the key everytime when we are comming from background so its always remounting the Camera view. I think this is the main issue here. As I understand this changing of the key was added to fix this issue #64295, I think its a bit a hacky solution so I think we should stablize the key passed to Camera view and find different solution for the mentioned issue.
melvin-bot commentedon Oct 13, 2025
@Julesssss, @RachCHopkins Eep! 4 days overdue now. Issues have feelings too...
11 remaining items
[-]iOS - Camera not displaying after returning from background[/-][+][Due for payment 2025-10-23] iOS - Camera not displaying after returning from background[/+]melvin-bot commentedon Oct 16, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Oct 16, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.32-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-10-23. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Oct 16, 2025
@Julesssss @RachCHopkins @kubabutkiewicz The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
RachCHopkins commentedon Oct 20, 2025
Do we need a regression test for this @kubabutkiewicz?
RachCHopkins commentedon Oct 29, 2025
@kubabutkiewicz just making you the owner here so you see my message!
Julesssss commentedon Nov 12, 2025
I don't think so. Lets close this out Rach