Expo camera permission causes white screen during page transition

1 day ago 7
ARTICLE AD BOX

I have run into an issue on android devices only, where during a page transition animation a white screen shows real fast. This doesn't have anything to do with the expo camera mounting, because even if don't render anything and only ask camera permission the white screen shows. If i just render a normal view it works perfectly. So the issue lies somewhere while i ask for permission, a timeout on the permission is my temporary fix but i do not want this.

I have another page where there is a permission check for camera access and here the white screen doesnt appear. I also want a check for permission on both pages not a global one. The issue only shows from Settings screen > Qr screen (where i check the permission )

Root background color is also not a solution. I have set a background color already in my app.config and works because i have seen it on the other pages. This issue is solely with the permission on this one page.

Read Entire Article