Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source map file is getting automatically deleted #412

Closed
2 tasks
GargManish opened this issue May 21, 2018 · 1 comment
Closed
2 tasks

Source map file is getting automatically deleted #412

GargManish opened this issue May 21, 2018 · 1 comment

Comments

@GargManish
Copy link

OS:

  • MacOS

_Platform:

  • Android

Output of react-native run-android --variant=release is creating source map file inside android/app/build/intermediate folder but it's getting deleted. In apk there is no source file. On Sentry dashboard output is not providing proper information about the js file name.

ReferenceError
ReferenceError: Can't find variable: Button1

This error is located at:
in t
in Connect(t)
in n
in s
in RCTView
in RCTView
in t
app://index.android.bundle in value at line 352:2578

Expected result is:
ReferenceError
ReferenceError: Can't find variable: Button1

This error is located at:
in ItemSearch (created by Connect(ItemSearch))
in Connect(ItemSearch) (at Navigation.js:83)
in Provider (at Navigation.js:82)
in _class2 (at renderApplication.js:35)
in RCTView (at View.js:78)
in View (at AppContainer.js:102)
in RCTView (at View.js:78)
in View (at AppContainer.js:122)
in AppContainer (at renderApplication.js:34)

Its coming only for the debug build.

@HazAT
Copy link
Member

HazAT commented Aug 13, 2018

This should work, also we do not fully support the "Debug" story since react-native itself provides you with an alert screen where the error happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants