Skip to content

Support Debug Ids with Re.Pack #3956

Closed as not planned
Closed as not planned

Description

@AkshayN369

Description

Im using sentry in my repack rect native application. The sentry is working fine in debug APK and Im also able to generate the debug APK. But when I try to generate the release APK. The build failed with the below issue.

Task :app:createBundleReleaseJsAndAssets_SentryUpload_com.*********************** FAILED
Copy debugId from packager source map to Hermes source map...
Packager source map does not have debugId.
Check generated source map for Debug ID: /Users/******************/host/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map does not contain 'debugId' nor 'debug_id'.

Im using PNPM to install sentry

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jul 17, 2024
  2. krystofwoldrich commented on Jul 17, 2024

    @krystofwoldrich
    Contributor

    Hi @akshay-capgemini,
    thank you for the message, we are excited to hear that you would like to use Sentry with Repack.

    Sadly we currently do not support Repack and have not tested our integrations with it.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Jul 17, 2024
  4. changed the title [-]Task :app:createBundleReleaseJsAndAssets_SentryUpload_com.*********************** FAILED in react native repack App[/-] [+]Support DebugIds with Re.pack[/+] on Jul 17, 2024
  5. krystofwoldrich commented on Jul 17, 2024

    @krystofwoldrich
    Contributor
  6. changed the title [-]Support DebugIds with Re.pack[/-] [+]Support DebugIds with Re.Pack[/+] on Jul 17, 2024
  7. changed the title [-]Support DebugIds with Re.Pack[/-] [+]Support Debug Ids with Re.Pack[/+] on Jul 17, 2024
  8. added
    up-for-grabs
    on Aug 2, 2024
  9. skinsapp commented on Aug 12, 2024

    @skinsapp

    Also would love to see this!

  10. 12 remaining items

  11. gronxb commented on Jun 18, 2025

    @gronxb
  12. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jun 18, 2025
  13. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Jun 20, 2025
  14. added and removed
    up-for-grabs
    on Apr 14, 2026
  15. antonis commented on Nov 17, 2026

    @antonis
    Contributor

    Closing this as the fix lives outside the React Native SDK.

    Root cause: Re.Pack emits index.bundle, but @sentry/webpack-plugin only injects the Debug ID into and stamps the emitted source maps of .js/.mjs/.cjs assets. The packager source map therefore has no debugId, and the SDK's copy-debugid.js step logs Packager source map does not have debugId with nothing to copy.

    Where it's being addressed:

    The rest of the pipeline (copy-debugid.js onto the Hermes-composed map, Gradle/Xcode upload) already works once the packager map carries a debugId. Please open a new issue if symbolication still fails with a Debug ID present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions