Urgent.News

What's breaking now, across thousands of outlets.

Tech

Implementing Consent and Account Deletion in a Fitness App

Implementing Consent and Account Deletion in a Fitness App A user disables analytics tracking in your fitness app. The settings screen shows that tracking is off, but your backend continues sending workout events to an analytics provider. Another user requests account deletion. Your API removes their profile, but workout history, cached records, and third-party data remain untouched. Both…

A fitness application may consist of several systems that process user data. The mobile app allows users to interact with the app, while the backend handles storage and management of workout information and user accounts. Analytics services gather event data, and external integrations may receive activity data. A privacy workflow must consider all these components.

To manage user consent, define the processing purposes for the application, such as workout history tracking, optional product analytics, marketing communications, and wearable data synchronization. These purposes should not automatically share a single consent setting. The legal basis for each processing activity depends on factors like the purpose, data, organization, and jurisdiction.

Design a consent data model, such as a ConsentStatus and ConsentPreference interface. A stored record could include user ID, purpose, status, notice version, and last update time. In production systems, consider maintaining historical changes separately from the current preference to retain an audit history.

Implement a preference update function that includes server-side validation, persistence, and downstream synchronization. Ensure the user identifier comes from a verified session, not an untrusted request. Save the preference and an outbox event together in a database transaction, allowing a background worker to deliver events to affected services. Add strict input validation, transaction isolation or version checking, idempotent event processing, and safe error handling in real implementations.

Address potential concurrent updates, as a user might enable analytics on one device and disable it on another. Ensure the system handles such scenarios correctly.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Fitting Three Objects in One Case: Modeling Multi-Item Packaging

The first article in this series modeled a product as a data model. The second one dealt with a curved object that broke the rectangular assumption.

  • Multi-item packaging case now uses layout with individual cavities for each object.
  • Cavity data structure includes id, inner dimensions, clearance, position, and orientation.

Agents follow the runbook — including the step the attacker added

Agents follow the runbook — including the step the attacker added Give an agent a runbook and it will follow it. That is the point of a runbook.

  • Runbooks contain legitimate steps and a malicious step
  • TaintWall firewall blocks all 16 malicious cases
  • Firewall incurs 6-point utility cost

How to Clean Up Ollama and LM Studio Models Taking Up Space on Windows in 2026

Your C: drive is red in File Explorer, and a good part of it is AI models you pulled into LM Studio and Ollama months ago.

  • Off Grid AI Desktop identifies and displays each model's size
  • LM Studio models in %USERPROFILE%\.lmstudio\models, Ollama in %USERPROFILE%\.ollama\models
  • Off Grid AI Desktop offers recycle bin and PowerShell/Command Prompt removal method

The four colors from my first prompt are still in my app. Almost nothing else is.

The four brand colors I wrote in my first prompt in January are still in my app today, to the exact hex code. Almost nothing else from that first sketch survived: not the logo, not the font setup, and…

  • Four brand colors remain unchanged from initial prompt
  • Colors include bright purple, electric violet, neon pink, and bright cyan
  • Font Atkinson Hyperlegible stays consistent throughout app

How We Programmatically Scaled a Privacy Directory to 215K+ Pages Across 31 Languages

As developers, we love building robust architectures, clean database models, and snappy user interfaces. But once the code is deployed, reality sets in: distribution is the hardest part.

  • EraseRegistry.com scaled platform to 215K+ pages across 31 languages using programmatic approach.
  • Implemented data-driven structure to dynamically map service metadata and localized routing.
  • Focused on technical SEO, crawl budgets, and domain authority for sustainable search engine trust.

More from Thursday 29 October →