I'm trying to make a qr code scanner with the expo-barcode-scanner in react native. Everything works fine but when I exit the application (It still run in the background), the camera symbol in the top right corner stays there like this:

I just copy/pasted the example from expo and It's still do the same thing.
Any suggestions?
I'm not sure but I think that I need to unmount somehow the permission?
I had the same issue with navigation.
After unmounting the component the problem disappeared. It is even described in the Expo documentation
Hope it will help!