rollbar / rollbar/rollbar-react-native

Remove device_name for privacy

Open
#154 1 comment 0 reactions 0 assignees View on GitHub

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 scrubPaths from 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_name using the exposed transform option, however the payload isn't set yet when transform is called, which won't allow us to change the device info.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.