You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To generate both an application JavaScript file (main.jsbundle) and source map for your project (main.jsbundle.map), use the react-native CLI tool:
68
66
69
67
.. code-block:: bash
70
68
71
-
$ npm start
69
+
react-native bundle \
70
+
--dev false \
71
+
--platform ios \
72
+
--entry-file index.ios.js \
73
+
--bundle-output main.jsbundle \
74
+
--sourcemap-output main.jsbundle.map
72
75
73
-
Then, in another tab, curl the packager service for your source map:
76
+
This will write both main.jsbundle and main.jsbundle.map to the current directory. Next, you'll need to `create a new release and upload these files as release artifacts
In Sentry, artifacts are designed to be "named" using the full URL or path at which that artifact is located (e.g. `https://example.org/app.js` or `/path/to/file.js/`).
83
+
Since React Native applications are installed to a user's device, on a path that includes unique device identifiers (and thus different for every user),
84
+
the React Native plugin strips the entire path leading up to your application root.
78
85
79
-
This will write a file index.ios.map to the current directory.
86
+
This means that although your code may live at the following path:
0 commit comments