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

Enable react-native path rewrite from config #780

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

waltjones
Copy link
Contributor

React Native stack trace file paths use dynamic path segments, which interfere with matching to the correct source maps. This PR adds match regex for android/ios Code Push, and makes the regex available from the configuration object.

@waltjones waltjones merged commit 3bf950e into master Sep 12, 2019
yosimasu added a commit to yosimasu/rollbar.js that referenced this pull request Feb 20, 2020
From my rollbar dashboard, I get code push url like:

```
http://reactnativehost//var/mobile/Containers/Data/Application/52713282-5486-4447-8D8F-683E8835FE7A/Library/Application Support/CodePush/220c9e918e33429e06837cbddcbcc0e8c0c6e5fd9519abe662c9d8d9d2eb9db5/CodePush/main.jsbundle
```

So I add an extra rule to match above url

Refer to

rollbar#780
rollbar/rollbar-react-native#75
mudetroit pushed a commit that referenced this pull request Mar 14, 2024
Enable react-native path rewrite from config
mudetroit pushed a commit that referenced this pull request Mar 14, 2024
From my rollbar dashboard, I get code push url like:

```
http://reactnativehost//var/mobile/Containers/Data/Application/52713282-5486-4447-8D8F-683E8835FE7A/Library/Application Support/CodePush/220c9e918e33429e06837cbddcbcc0e8c0c6e5fd9519abe662c9d8d9d2eb9db5/CodePush/main.jsbundle
```

So I add an extra rule to match above url

Refer to

#780
rollbar/rollbar-react-native#75
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

Successfully merging this pull request may close these issues.

1 participant