Skip to content

Builds with "expo publish" do not have the right sourcemap configurations. #133

@dubchoi

Description

@dubchoi

Describe the bug

On new build updates with "expo publish", the reported bugs do not have the right source map configurations.

Steps to reproduce

  1. Using @bugsnag/expo and @bugsnag/plugin-expo-eas-sourcemaps v48.
  2. Currently we use eas builds but have not migrated to eas updates due to an outstanding blocking issue: Make Bugsnag Source Map Upload Work With EAS Update #48
  3. Make an eas build (any platform), and do an update with expo publish.
  4. Source maps are uploaded correctly for both eas builds and expo publish. Confirm on the bugsnag settings dashboard.
  5. Any bugs notified from the published do not have the right sourcemaps configurations and do not have the unobfuscated stacktraces.

Environment

  • Bugsnag version: 48.1.0
  • Expo SDK version (e.g. SDK 44): 48
  • Device (e.g. iphonex): Any

What's happening

I went ahead and looked into what changed since this used to work before v48.
I believe the culprit is a731586
This change removes setting the right codeBundleId on the bugsnag notifier. It seems premature to do so since expo publish is still around, and bugsnag still doesn't officially support eas update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogWe hope to fix this feature/bug in the futurebugConfirmed bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions