rollbar / rollbar/rollbar-react-native
Remove device_name for privacy
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 81
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
We would like to remove the device_name from the deviceInfo to anonymise the error, unfortunately it's currently impossible.
After reviewing there seem to be 2 possible solutions:
- Expose the
scrubPathsfrom rollbar.js in rollbar-react-native, this would also allow devs to scrub other nested fields. - Add an option to the config to disable the
device_name. - Remove the
device_nameusing the exposedtransformoption, however the payload isn't set yet whentransformis called, which won't allow us to change the device info.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how rollbar.js scrubPaths, rollbar-react-native configuration, and the exposed transform option handle deviceInfo. Compare the proposed scrubbing, configuration, and transform approaches, then confirm which behavior should be supported. Done means device_name is excluded from reported error data without preventing other device information from being sent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100