Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    Week one of the Musk v. Altman trial: What it was like in the room

    May 5, 2026

    Microsoft Sovereign Private Cloud scales to thousands of nodes with Azure Local

    May 5, 2026

    ios – FamilyActivitySelection token stability — are stored tokens long-term reliable?

    May 5, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»ios – FamilyActivitySelection token stability — are stored tokens long-term reliable?
    iOS Development

    ios – FamilyActivitySelection token stability — are stored tokens long-term reliable?

    big tee tech hubBy big tee tech hubMay 5, 2026002 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    ios – FamilyActivitySelection token stability — are stored tokens long-term reliable?
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    We are storing FamilyActivitySelection tokens encoded via JSONEncoder to a backend for long-term use, and relying on them inside a DeviceActivityMonitorExtension to restore and apply shields when a schedule fires.

    We came across reports on Medium and Apple Developer Forums suggesting that ApplicationToken and ActivityCategoryToken values issued by the FamilyControls framework are not guaranteed to be stable, that iOS may silently re-issue new tokens for the same apps after OS or app updates, making any previously stored tokens invalid.

    On Medium, We Found That

    The Token Mutation Problem One of the more painful bugs in real production apps: application tokens are not guaranteed to be stable forever. iOS can silently issue new, different tokens for the same app. If your store contains the old token and the Shield delegate receives a new one, the delegate has no way to match them — it doesn’t know which store is responsible for the shield, or which blocking “profile” caused it. This has been reported by multiple developers of real Screen Time apps and confirmed across several Apple Developer Forum threads. There is no official fix yet. The workaround is defensive: when the ShieldConfigurationDataSource or ShieldActionDelegate receives a token you don’t recognise, fall back to a generic shield UI rather than crashing or returning empty data. And never rely on token identity as a long-term stable key in your persistence layer — always re-derive from a fresh FamilyActivityPicker selection when the user re-activates a profile.

    What we’re trying to understand is: is this token instability still an active problem in iOS 16/17/18/26, and when a token does become invalid, does JSONDecoder actually throw a DecodingError giving us a clear signal, or does it decode successfully and ManagedSettingsStore just silently ignore the stale tokens with no error at all?



    Source link

    FamilyActivitySelection iOS longterm Reliable stability stored token Tokens
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    Firebase Sign in with Apple returns invalid-credential despite valid Apple token (Flutter iOS)

    May 4, 2026

    Spring Economic Update highlights economic resilience and affordability. A long-term lens favours clean energy for both

    May 3, 2026

    An Interpreter for Swift | Cocoanetics

    May 3, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Week one of the Musk v. Altman trial: What it was like in the room

    May 5, 2026

    Microsoft Sovereign Private Cloud scales to thousands of nodes with Azure Local

    May 5, 2026

    ios – FamilyActivitySelection token stability — are stored tokens long-term reliable?

    May 5, 2026

    Kenosha casino plan advances to final federal review stage

    May 5, 2026
    Timer Code
    15 Second Timer for Articles
    20
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    Week one of the Musk v. Altman trial: What it was like in the room

    May 5, 2026

    Microsoft Sovereign Private Cloud scales to thousands of nodes with Azure Local

    May 5, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.