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.

Expo SDK44 - @expo/bugsnag using expo-constants "~12.1.3" breaks build

See original GitHub issue

Describe the bug

With @bugsnag/expo@^7.14.1 it is impossible to build the app because of incorrect expo-modules-core used by expo-constants “~12.1.3”

Please update @bugsnag/expo for SDK44 using “expo-constants”: “~13.0.0”, this will remove dependency on expo-modules-core@0.4.9.

Steps to reproduce

after npx bugsnag-expo-cli init Yarn.lock contains :

"@bugsnag/expo@^7.14.1":
  version "7.14.1"
  resolved "https://registry.yarnpkg.com/@bugsnag/expo/-/expo-7.14.1.tgz#abca70a5b456ad41c6554c58d5286778d1dfa2c7"
  integrity sha512-QqrB8c6dipxfhRxoYkN7oIXsvFBuykHcErntakWpZX6FFV+bJHOAK4Ijqg3ICP1UjseBvaicFoWEzaxzJYHrKw==
  dependencies:
    "@bugsnag/core" "^7.14.0"
    "@bugsnag/delivery-expo" "^7.14.0"
    "@bugsnag/plugin-browser-session" "^7.14.0"
    "@bugsnag/plugin-console-breadcrumbs" "^7.14.0"
    "@bugsnag/plugin-expo-app" "^7.14.0"
    "@bugsnag/plugin-expo-device" "^7.14.0"
    "@bugsnag/plugin-network-breadcrumbs" "^7.14.1"
    "@bugsnag/plugin-react" "^7.14.0"
    "@bugsnag/plugin-react-native-app-state-breadcrumbs" "^7.14.0"
    "@bugsnag/plugin-react-native-connectivity-breadcrumbs" "^7.14.0"
    "@bugsnag/plugin-react-native-global-error-handler" "^7.14.0"
    "@bugsnag/plugin-react-native-orientation-breadcrumbs" "^7.14.0"
    "@bugsnag/plugin-react-native-unhandled-rejection" "^7.14.0"
    "@bugsnag/source-maps" "^1.0.1"
    bugsnag-build-reporter "^1.0.1"
    expo-constants "~12.1.3"

I had to remove @bugsnag/expo package from the build which is not good 😉

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
xljonescommented, Jan 21, 2022

Release v7.15.0 encountered an issue, and was patched in https://github.com/bugsnag/bugsnag-js/releases/tag/v7.15.1, please use this release instead 😄

1reaction
xljonescommented, Jan 4, 2022

Hey @lc3t35, Expo SDK 44 is not yet supported. But we’ll keep you posted here when support for Expo SDK 44 is added.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expo integration guide - React Native - Bugsnag docs
This guide is for apps using Expo's managed workflow on supported platforms. ... when built with either Expo Application Services (EAS) Build (Expo...
Read more >
Package Issues from expo SDK 42 to SDK 44 - Stack Overflow
This is in a react-native app and I was previously using version 42. NPM add expo is what is suggested however I get...
Read more >
Dont update expo sdk to 44 until bugsnag fixes - React Native
expo SDK 43 gives a warning after installing bugsnag. Constants.installationId has been deprecated in favor of generating and storing your ...
Read more >
Expo SDK 44. Today we're announcing the release of…
Today we're announcing the release of Expo SDK 44. SDK 44 includes React Native 0.64.3. Thank you to everyone who helped with beta...
Read more >
expo-constants could not be found within the project or in ...
An Expo project created with create-expo-app causes a bundle error when ran ... Update expo sdk 43; Install bugsnag; expo install expo-constants; See...
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