Skip to content

Add a settings toggle to make telemetry optional#238

Open
DwieDave wants to merge 6 commits intoospfranco:mainfrom
DwieDave:feat/make-sentry-optional
Open

Add a settings toggle to make telemetry optional#238
DwieDave wants to merge 6 commits intoospfranco:mainfrom
DwieDave:feat/make-sentry-optional

Conversation

@DwieDave
Copy link
Contributor

Why

For me Sol is a more privacy friendly alternative to RayCast and I think users should have control over whether crash reports and telemetry is sent.
Currently, Sentry telemetry is always enabled in production builds with no way to opt out. This PRs changes aim to respect the user privacy preferences by allowing them to disable anonymous error reporting.

Changes Summary

  • New TelemetryManager.swift: Added a singleton class that wraps Sentry calls (captureError, addBreadcrumb) and respects an isEnabled flag
  • New telemetry.ts module: Centralized Sentry initialization and added safeCaptureException() wrapper that checks if telemetry is enabled before reporting
  • Settings UI toggle: Added "Send Anonymous Error Reports" switch in the General settings widget
  • State management: Added telemetryEnabled field to the UI store (defaults to true) with persistence
  • Native bridge: Exposed setTelemetryEnabled method through SolNative to sync the setting to the Swift layer
  • Updated all Sentry calls: Replaced direct SentrySDK calls in ApplicationSearcher.swift with TelemetryManager, and replaced captureException imports with safeCaptureException in TypeScript stores
  • Debug action: Added a DEV-only "Debug Telemetry" action to test the telemetry toggle behavior

In the end it's up to you if you want to include this toggle, but I think it's a valuable contribution and would strengthen the privacy / data friendly aspect of the App.

@ospfranco
Copy link
Owner

I do no analytics on the data whatsoever, the information is there only to help fix with issues and crashes. No need to be paranoid as you can see on the code itself no personal data is collected. I will keep it open but this is not a priority for me.

@DwieDave
Copy link
Contributor Author

DwieDave commented Feb 1, 2026

Can I ask what speaks against this feature for you?

The default is still to send telemetry - but it allows users to decide if they want to do so.
In my opinion it could even boost adoption since it includes more possible user groups (e.g. usage on Enterprise devices with strict data protection where even the anonymous crash reports aren’t allowed)

If you are completely against the feature you can close the PR - No hard feelings.

@ospfranco
Copy link
Owner

I definitely do not want sol on enterprise environments. I make no money out of sol and the moment enterprises start asking for features open-source becomes even less attractive than it already is. There is no reason for this NOT to be turned on because it makes my life easier detecting issues and fixing the product for FREE.

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.

2 participants