question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The camera doesn't launch since SDK 45 only on iOS

See original GitHub issue

Summary

Hi 👋, I updated Expo form 44 to 45 and all dependencies but since this update, the camera doesn’t launch on iOS. I’m using expo-camera to take photo. onCameraReady and onMountError return nothing.

Everything works fine on Android. Don’t test on iOS simulators because it’s working. Try only on physical devices.

Thanks 👍

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

No response

Environment

  expo-env-info 1.0.3 environment info:
    System:
      OS: macOS 12.3.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.17.6 - /usr/local/bin/node
      Yarn: 3.2.0 - /usr/local/bin/yarn
      npm: 8.9.0 - /usr/local/bin/npm
      Watchman: 2022.03.21.00 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.11.3 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
    IDEs:
      Android Studio: 2021.1 AI-211.7628.21.2111.8193401
      Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
    npmPackages:
      expo: ^45.0.1 => 45.0.1 
      react: ^17.0.2 => 17.0.2 
      react-native: ~0.68.1 => 0.68.1 
      react-native-web: ^0.17.7 => 0.17.7 
    npmGlobalPackages:
      eas-cli: 0.8.1
      expo-cli: 5.4.3
    Expo Workflow: bare

Reproducible demo

https://github.com/TomCorvus/expo-camera-not-working

I can’t create a snack with Expo SDK 45 because it is not available.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
brentvatnecommented, May 9, 2022

this is resolved in expo@45.0.2 - thank you for the report!

3reactions
hirbodcommented, May 9, 2022

Its still good to have 2 isolated tickets, one for video, one for camera

Read more comments on GitHub >

github_iconTop Results From Across the Web

expo@45 expo-av@11.2.3 and expo-camera@12.1.2 not ...
If you have ios/ or android/ directories in your project, the answer is bare! bare What ... The camera doesn't launch since SDK...
Read more >
Camera not working on iOS16 | Apple Developer Forums
The camera does not work in any application, in the Camera, in iMessage, Halide, Instagram, WhatsApp,... The controls and buttons of the camera...
Read more >
Camera - Expo Documentation
Camera. expo-camera provides a React component that renders a preview for the device's front or back camera. The camera's parameters like zoom, auto...
Read more >
Video not working on iOS sdk since we updated to the latest ...
Since we updated to latest versions of the Web SDK and the iOS SDK the video chat doesn't work properly anymore between devices....
Read more >
Structure SDK (iOS) Release Notes
We are excited to announce the launch of Structure SDK (iOS) 2.1! This is our first attempt to adopt a tick/tock major/maintenance release ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found