edit: on second thought, realistically, the API solution is too brittle regardless of which way it goes. Because the API requires every service to implement it and that's not happening, whereas an app installation lock only requires one child-friendly OS to implement it, then parents can choose that OS.
So the app requests a signal (like, calling an API), and the OS returns the signal (returning the age group).
Regarding API vs installation lock, TBH I don't think the law concerns that level of details. An OS or app-store installation lock that checks app ratings can be considered as a valid implementation.
The password-based app installation lock I proposed in my original comment doesn't require any kind of age checking at all, so it naturally doesn't fit the California law. The device owner (in this case, the parent who buys the device for their child) gets to decide what apps can be installed on their child's phone on an app-by-app basis using a password set by the parent. The app store doesn't need to know, and the apps don't need to know.
I do want to note that this California law alone doesn't say anything about content restriction. I won't be surprised if there was/will be another bill to assign the responsibility (which may be more controversial). But the current law is only about the age gating mechanism. And on the positive side it removes the need for actual age verification (like using ID) which other regions still insist on.
Since tracking children is generally illegal, you can also voluntarily lie and label yourself as a child when you don't want to access such content.
A more reasonable approach would be for parents to keep tabs on (or for stricter parents, control) who their child is associating with and where they're going, and advise their child on who/what to stay away from if they're out alone. And of course that takes parenting effort. The digital equivalent of this are things like password-gating app installation in the OS and website-blocking in the WiFi router. But I will say, I don't think these kinds of analogies are good because the Internet is too different from the physical world.
And let's not underestimate the tracking power of a legally mandated data point: the age contains about 6 bits of information that can be used to identify your user account on the Internet across apps and websites, even if your inputted age is fake.
But yeah I get the point, API based solutions are complicated and brittle because they require all services to implement it properly. In contrast a user-set app installation password in the OS settings is more effective and easier to implement.
No it doesn't. A browser/appinstaller with parental/age controls enabled would fail as unavailable if there was no age rating on the website/app. This is exactly the solution we should be aiming for, as it keeps the incentives lined up instead of turning them upside down.
One big problem with the laws currently being pushed is that it leaves the decision for what sites are "appropriate" for kids completely in the lands of corporate attorneys. For example, Facebook will happily make an "under 18" site that uses LLMs to censor posts, but still contains all of the same dopamine drip mechanics. Whereas keeping the decision process of appropriate under the control of the end-device means parents could straightforwardly go beyond what corporate attorneys decide, and block Facebook regardless of the age rating.
I'm responding to another comment of yours here since HN loves the rate limit. In that comment you were talking about locked down bootloaders. But bootloaders are already thoroughly locked down, and most devices are still essentially usable. The current looming threat is remote attestation, which makes it so that websites (and other services) are able to prevent you from running software of your choice when interacting with them! The backwards legislation being currently pushed is all but guaranteed to end up in more demands for remote attestation, whereas the correct direction of information flow (sites/apps publish headers saying they're suitable for <18 etc) would not necessitate remote attestation.
I stand by my original comment. No new laws are needed. All of the features outlined in 1), 2), and 3) should be user-controlled, and there's no need to send info over the air.
The unlocking process zaps the userdata partition. This security model would totally suffice for locking down a child's phone. If the child zaps their phone and erases everything on it, then the parent can handle that out of band.
For the general problem, I would say that there has been a longstanding market failure here, in that parental control software isn't widespread or straightforwardly usable across different websites. Your 3 points don't really address that. (2) has been doable on standard desktops forever, and (3) just pushes mobile devices back towards the capability of desktops (which on its own is laudable!). But standard desktops have had these capabilities for decades and still haven't evolved the kind of straightforward parental controls that most parents are demanding.
> the absolute level of demand for parental control features has been low until recent years, and even this recent wave of demand is somewhat manufactured.
I don't agree with this. I think the demand has always been there and has been sort of discarded. I've personally done some of that discarding, in my younger days when the worry was of violent content but still on desktop/laptop computers where use was generally socially legible to parents. But these days we're dealing with pocket-sized devices that are no longer socially legible, plus malevolent commercial interests drawing kids in to get them hooked on dopamine drip loops.
But you seem to think the problem is solved, so tell me: what exactly are parents supposed to do here? I'm a new parent, we're still at the stage of watch videos with mama/dada, and play with the calculator app. The next step is probably curated sources of content/apps with general web browsing locked down (including self-curated things like perhaps a local copy of wikipedia). But then after that? What's the next level of expanding their scope look like, without them being subject to attack by corpos showing them ads/social media/weird slop shit/etc? Especially if they are going to have a SIM card such that I can't just filter most of this at the network level.
I haven't researched it all, and I'm sure there are some solutions. But I'm also more capable of seeking out bespoke solutions and actively choosing to use one, as opposed to the average person who wants things to "just work" and isn't going to delve too hard. Can't we agree that the pressure for this shitty legislation is coming from somewhere beyond merely Faceboot's money?
After curated local content, you could get an old desktop (and later a laptop too) and install a Linux distro of your choice on it, something reasonably modern. Put Minecraft on it, and show your child how to start a singleplayer world. Show them how to use the web browser, and add a curated list of sites in the bookmarks. Leave them to figure out the rest on their own. Withhold the sudo and BIOS passwords at the beginning, but give them the passwords when they're ready. I think for the sudo password, it's when they try to host their own Minecraft server for the first time, and BIOS password when they explicitly ask you for it (though these may never happen, depends on the kid, so set your own milestones). Configure the OS and programs as you see fit early on, but don't make changes secretly after they've had the computer for a few months. Block unwanted sites and limit access times with your WiFi router or OS firewall as you see fit. Eventually, they'll figure out how to get around or tear down the barriers you put up, and that's fine, just pretend you don't know or give them a vague hint if they do something too egregious like stealing the neighbor's WiFi. Gradually loosen your control as they get older. And if something breaks, let them watch how you fix it.
Don't give them a phone. Or even if you do, strip it down so that it can only be used for calls, but you can add apps over time. Don't buy them mobile data. Let them buy their own phone and mobile data when they're old enough to earn the money, and that's when your digital supervision ends.
Regarding a solution that "just works": when your child goes out to play, you're the guide that protects them and shows them around town. You know the roads, buildings, people and rules better than they do. There aren't any solutions that "just work" which exempt you from your job as a guide. Well, there are, but that just means someone else is watching your child for you. I think digital parenting is similar in this regard. Parents needs to understand the digital landscape well enough to guide and advise their kids. Solutions which don't strip away parental rights and responsibilities will require some effort to use.