Repository navigation
Description
Thank you for the quick and thorough fix in #750. I re-read the merged code (bed32ee) against the description, and the search, link, Maps and Reddit changes, the manifest and RevenueCat changes, and the Nextcloud warning all look as described. A few smaller points remain from #746 and #750. I may be missing context on any of them, so please treat them as questions.
-
Opt-out (second half of Privacy: three analytics events include user content, and a request for an opt-out #746).
I couldn’t find a setting that disables Analytics or Crashlytics collection in lib/, Android or iOS. Privacy: no user content in analytics, no advertising ID, safer links and Nextcloud #750 says plainly that there’s no in-app switch, but Privacy: three analytics events include user content, and a request for an opt-out #746 was closed by the PR, so I wanted to check: is an opt-out still something you’d like to consider? I’m not planning a PR, but I’m happy to help if you’d like one. -
Story events send more than “counts and categories”.
The Privacy: no user content in analytics, no advertising ID, safer links and Nextcloud #750 description says story events send only counts and categories (page count, tag count, story type). storyAnalyticParameters in base_analytics_event_adaptor.dart also sends the entry’s year/month/day, gallery_template_id, starred and pinned, and events such as archive_story, hard_delete_story and change_story_date use it. This isn’t text or location, but an entry’s date can be personal. Is the date needed for the analytics you want? If so, perhaps the PR/policy wording could mention it. -
Question: could a Nextcloud server hostname end up in Crashlytics?
NextcloudCloudService._buildException embeds $error in messages like 'Network error during $methodName: $error', and cloud_optimize_view_model.dart writes $e to Crashlytics logs. From Dio’s and Dart’s source (main), a connection error’s text can include the inner SocketException, which can include the server address. This is an assumption: I haven’t reproduced it, I haven’t confirmed these exceptions reach recordError, and I read Dio/Dart main rather than the exact versions in pubspec.lock. If it holds, a user’s own hostname could appear in a crash report, so it may be worth redacting. If it doesn’t, feel free to close this point.
Caveats: I didn’t run the tests or the app, and I didn’t verify the merged Android manifest or the iOS pod configuration. Everything above comes from reading the code.
Activity
theachoem commentedon Nov 9, 2026
Thank you for re-reading the merged code so carefully. We checked all three points against
develop, and each one holds. Here is where each stands.1. Opt-out
You're right that there's still no setting to turn off Analytics or Crashlytics, and closing #746 with #750 didn't make that clear. We've decided not to add an opt-out for now. Analytics is only used to see which features are used and where the app crashes. Since #750, every event follows the anonymous rule: no entry text, titles, search terms, tag or person names, locations, or opened links, and no advertising ID. The privacy policy and terms on storypad.me describe what is collected. Thank you for offering to help. If our approach changes, we'll come back to it.
2. Story events
Confirmed:
storyAnalyticParameterssent the entry'syear/month/day, which goes beyond the "counts and categories" wording in #750. We don't need the date, so #753 removes it rather than documenting it. Story events now send only counts and flags about the entry, such as page and tag counts or whether it's starred or pinned, and never its date, text or location. The full list is instoryAnalyticParameters, and a test checks the exclusions.3. Nextcloud hostname in Crashlytics
Your reading was correct, including for the versions we ship (dio 5.11.1 via
webdav_client1.2.2). On a failed connection, Dio includes the innerSocketExceptiontext, which names the server (Failed host lookup: '…'oraddress = …), and_buildExceptionput that text into the exception message. You were also right that these exceptions don't reachrecordError. They do reach Crashlytics breadcrumb logs, which are uploaded with the next crash report in the same session.We also found a second path you didn't mention: a failed background sync logs the same error message, so this could happen on any failed Nextcloud sync, not only in Cloud Optimize. #753 fixes it in the Nextcloud service itself. Error messages now keep only the kind of error (for example
DioException(connectionError, SocketException(errno 8))), never the server address, so every place that logs or shows them is covered.This issue will close when #753 is merged. Thanks again for the careful review.