by quietthrow · 1y ago · 0 comments
What I was surprised by is how behind the iPhone was. I expected iPhone to be on par with android in terms of safety alerts.
Anybody know if there is a way to get the early alerts on iPhone like I did on the android phone?
In general my impression of Android is that it’s quite ‘leaky’ and apps can abuse it quite easily and iPhone is more secure. Would love to hear thoughts on this or point me to resources that address this question.
Generally an earthquake warnings are issued by someone always automatically correlating sensors everywhere, USGS and/or NOAA in case with US, and then cellular carriers broadcasting the alert through LTE feature. This does not work without participating local equivalent of USGS deploying a sensor network and running its computers wired to carriers.
This feature is carrier agnostic, enabled by default, and mandatory on phones; it's specifically designed to deliver earthquake early warnings. It does not matter if it's Android, iOS, or something else altogether. Any phones, SIM locked or unlocked, with or without SIM, should start blaring the alert so long it hears the signal.
On iOS you have no such thing and you either rely on the carrier alert (there won't always be one) or install an earthquake alert app such as MyShake.
PWS is also a broadcast, meaning the phones don't have to wait for cellular timeslots, so it's faster and bandwidth efficient in that regard too.
The Android Alerts are actually coming off of IPAWS as well, but I believe they take a feed directly from the publishing system and do all of the routing themselves. Their implementation is of course quite a bit faster than IPAWS rather creaky and sort of batch-centric architecture.
Reality doesn't care what you think should be the fastest.
[Edit:] All too real scenario: Carrier knows about particular IP addresses and ports used by alert service. Carrier makes provision for separate path for it. Carrier also tries to shave said provisioning to the bone, calculates a worst-case, and adds 5% capacity. Which doesn't get updated when that particular app gets a 6% boost in subscriptions. Back in the old days the traffic management folks would be on top if it, but that's all been outsourced...
(Source, worked at Google in Android team.)
You can do a location-based two way warning system and there are such services, but it's going to be laggy and won't scale to 100M+ simultaneous subscribers. One-way broadcast scales to the planet if wanted.
Androids also give tsunami warnings, when appropriate. There was 1 issued just a few weeks ago after an off-shore earthquake in SoCal.
tldl: I do think the recommendation was installing the official ShakeAlert app
[0] https://podcasts.apple.com/mu/podcast/two-possible-futures-f...
* Notification path. IoS at the time was pretty protective of the user's battery, and had specific services you had to use. I imagine there's special treatment now for emergency communications.
* Phone state. How deeply asleep is it? Are there other background apps frequently contacting the mothership? Multiple apps can get their requests batched together, so as to minimize phone wake-ups. You can also benefit from greedy apps--VoIP apps, for example, might be allowed/figured out a hack to allow frequent check-ins, and the other apps might see a latency benefit.
* Garbage carriers. Hopefully emergency alerts have a separate path, but I've noticed my provider (who shall remain nameless but is a three-letter acronym with an ampersand in the middle) sometimes delays SMS messages by tens of minutes. (TBF, in my case there might also be a phone problem [Android], but since nameless provider forced it on me when they went 4G-only they're still getting the blame.)
In your case, my money would be on the carrier. Pushing a notification to all phones in an area can be taxing, and cheaping out on infrastructure is very much a thing.
For docs, your best bet would be to go to the developer sites and pull up the "thou shalt..." rules, particularly regarding network activity, push notification, and permitted background activities. And yeah, Apple was much more dictatorial, for good reasons.
wasn't the official name switched to no longer use that ampersand so it is just the three letters now (and for some time)?
Or maybe ampersand was dropped before SBC bought the remaining parts of the old business and reformed T-1000 with the ampersand?
I really wish we had something like NERV but for SF, NERV works so well whenever I'm in Japan. It will literally show you a countdown of exactly when you'll feel it and it's very accurate, and you can see a livemap of monitoring stations reporting it in real time as the wave makes its way towards you.
I've lost 15 minutes already because of your comment, and am on track to lose CARROT only knows how much more.
Not only did you prompt me to download CARROT weather, I was foolish enough to set it on the "overkill" personality setting. I was amused by the banter until I found the "achievements" section. Then I saw that there was an achievement for downloading the Vision Pro app, so of course I had to get that one.
I thought it was going to be difficult resisting enslaving myself to the will of CARROT on my iPad... woo boy. I wasn't prepared for the Neal Stephenson-flavored counterfeit GLaDOS that awaited me in visionOS.