Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

codeBundleId setting ignored #127

Closed
grigored opened this issue Aug 8, 2017 · 1 comment
Closed

codeBundleId setting ignored #127

grigored opened this issue Aug 8, 2017 · 1 comment

Comments

@grigored
Copy link

grigored commented Aug 8, 2017

I'm using bugsnag with codepush.
Here's my code to upload source maps

bugsnag-sourcemaps upload \
    --api-key API_KEY \
    --code-bundle-id 1.0.0-b12 \
    --source-map codePushBuild/main.jsbundle.map \
    --minified-file codePushBuild/main.jsbundle \
    --minified-url main.jsbundle \
    --upload-sources \
    --add-wildcard-prefix

I'm pretty sure this is fine, as I can see on the bugsnag dashboard the app version: - and Code Bundle ID: 1.0.0-b12.

Here's my js code:

const config = new Configuration('API_KEY');
config.codeBundleId = '1.0.0-b12';
const bugsnag = new Client(config);

Whenever a crash happens, i can see in the App tab of the crash the app-version, but i don't see anything about the codeBundleId, and it also doesn't use the right sourcemaps.

If I use appVersion instead of the codeBundleId, it works fine.

kattrali added a commit that referenced this issue Aug 10, 2017
Avoids not having the value set in the case that an unhandled exception
occurs in the JavaScript runtime which is not caught by the global
handler

Fixes #127
@kattrali
Copy link
Contributor

This is resolved in bugsnag-react-native v2.3.1. Funnily enough, it was the combination of this issue, #128 and our conversation in #129 which led to the solution. Thanks again! 🎉

Jekiwijaya pushed a commit to Jekiwijaya/bugsnag-react-native that referenced this issue Mar 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants