Comments (3)
Hi @GOVINDDIXIT
Are you using the Hermes JS engine on Android in your React Native app? If you're not using Hermes you can just follow our standard instructions here to upload via the API without bugsnag-sourcemaps
:
https://docs.bugsnag.com/platforms/react-native/react-native/showing-full-stacktraces/#uploading-source-maps-to-bugsnag
If Hermes is enabled then using bugsnag-sourcemaps
is currently the only upload method we support.
Where does you flavor build output the .bundle
and .bundle.map
files? Have you tried manually running the build and searching for the files? Is it just the path that's wrong in your upload command?
from bugsnag-react-native.
Hi @mattdyoung
Thanks for the quick response. Yes, I have got the correct path by building source maps locally and the issue is now solved. If possible I would suggest adding a specific section for the android flavor builds in official docs.
After adding flavors the updated path for minified file and source map is
--minifiedFile=android/app/build/generated/assets/react/play/release/app.bundle
--source-map=android/app/build/generated/sourcemaps/react/play/release/app.bundle.map
In general
--minifiedFile=android/app/build/generated/assets/react/{flavor_name}/release/app.bundle
--source-map=android/app/build/generated/sourcemaps/react/{flavor_name}/release/app.bundle.map
from bugsnag-react-native.
@GOVINDDIXIT
Thanks for letting us know! We're looking into various docs improvements currently so we'll consider this clarification.
from bugsnag-react-native.
Related Issues (20)
- Ask for user confirmation in registerBeforeSendCallback HOT 1
- Intermittent build failure on :bugsnag-react-native:verifyReleaseResources Gradle task HOT 2
- New version utilising new JS and Android versions? HOT 3
- the uploaded source map not getting applied HOT 1
- iOS: Definition of '' must be imported from module HOT 6
- Upload Hermes sourcemaps generated by CodePush HOT 1
- Unhandled crashes not sent. (iOS) HOT 2
- bugsnag-react-native does not support bugsnag-cocoa 6.0 HOT 6
- iOS Build Error: Include of a non-modular header inside framework module 'BugsnagReactNative.Bugsnag' HOT 6
- iOS Library misbehaves when dropping breadcrumbs HOT 4
- Cycle in dependencies between targets 'BugsnagReactNative' and 'FBSDKCoreKit'; HOT 2
- App crash during launch java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader HOT 4
- Files that shouldn't be in your npm package HOT 1
- RN62.0: Multiple targets match implicit dependency for linker flag '-lBugsnagReactNative HOT 4
- Missing TS declarations '@bugsnag/react-native' ^7.3.1 HOT 4
- Missing TS definition for `codeBundleId` in Bugsnag.start() HOT 4
- Bugsnag Android Dependency Update HOT 1
- Please add back JS releaseStage and appVersion HOT 1
- Ability to set `errorClass` in new version? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugsnag-react-native.