expo-camera, works on Safari iPhone but NOT if installed on homescreen

Please provide the following:

  1. SDK Version: 46.0.0
  2. Platforms(Android/iOS/web/all): web as “installable web app”
  3. expo-camera

Got the camera (expo-camera) working on Android/IOS and web.
Works perfect via web on IOS and on Android.
BUT if I launch the web site from the home screen “PWA/Installable web app”, the camera is just white/blank. The camera indicator on iPhone shows the camera symbol for like a second.

Does anyone know why the expo-camera would work in Safari on iPhone but when if I save it to the home screen and open it, the camera would behave differently? Cheers.

“expo-barcode-scanner”: “~11.4.0”,
“expo”: “^46.0.0”,
“expo-camera”: “~12.3.0”
“react-native-web”: “~0.18.7”,
“react”: “18.0.0”,
“react-dom”: “18.0.0”,
“react-native”: “0.69.5”,

SOLVED. It started working after I restarted my iPhone.
PAY ATTENTION here, the camera worked in Safari, just not in PWA-mode (Progressive web app).
The camera work in all over apps on the phone.
I tried a bunch of different camera apps, all worked.
I tried a bunch of PWAs, camera didnt work on my device.
Conclusion, this is NOT related to expo-camera itself.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.