Skip to content

Commit

Permalink
Add CodePush Rewrite Rule
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yosimasu committed Feb 20, 2020
1 parent 2c1d14f commit bb17ea4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdks/rollbar.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"rewriteFilenamePatterns": [
"^.*/[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}/[^/]*.app/(.*)$",
"^.*/[0-9A-Fa-f]{64}/codepush_ios/(.*)$",
"^.*/[0-9A-Fa-f]{64}/codepush_android/(.*)$"
"^.*/[0-9A-Fa-f]{64}/codepush_android/(.*)$",
"^.*/[0-9A-Fa-f]{64}/CodePush/(.*)$"
]
},
"logLevel": "debug",
Expand Down

0 comments on commit bb17ea4

Please sign in to comment.