We noted earlier that we’re again seeing a number of iOS apps crashing as soon as they open, thanks to a bug in the Facebook SDK. Even if you don’t have the Facebook app installed, apps which use this SDK access it when they open, and then promptly crash.
Jul 10, 2020 Pinterest, PUBG Mobile, Spotify, Tinder, and several more apps were crashing for iOS users worldwide today. Widespread reports on the social media suggest that the apps were not opening properly. IOS apps including Spotify, Facebook, and Tinder are crashing for a large number of users.
Fortunately, there is an easy fix for now …
The secret is to block apps from accessing the Facebook domain. There are a number of ways of doing this, but The Verge spotted a really easy one.
Lockdown Apps, a firewall and privacy protection app on iOS, uses a VPN to block trackers and things like Facebook’s iOS SDK from loading in third-party apps. It will allow apps like Spotify, Pinterest, and Tinder to launch during a Facebook iOS SDK outage, and it’s completely free to use.
It takes just a couple of minutes to set up, most of which is simply tapping through the app walkthrough.
As soon as this is done, you should be able to once again open apps like Spotify.
We explained earlier what causes the crashes.
For a little more insight on what is happening behind the scenes, the Facebook SDK communicates back and forth with a data server. The client app code expects the data returned by the server to be in a particular format. But when the server suddenly starts sending data in a different format, the framework code is not prepared to handle the invalid response. So, the app code tries to access values that don’t exist — which leads to a fatal error and the app crashes.
Download Spotify App Mac
We’re expecting Facebook to fix the problem within a few hours. You can check for this by switching off the firewall and then trying to open Spotify. As soon as that succeeds, you can delete Lockdown App and that will automatically remove the VPN profile at the same time.
FTC: We use income earning auto affiliate links.More.
Update: The issue now appears to have been resolved and normal app function is being restored.
In almost the exact same circumstances as we saw in May, a bug in the Facebook SDK is once again causing major third-party iOS apps like TikTok and Spotify to crash on launch. Third-party apps integrate with the Facebook SDK to enable things like account login, analytics, and ads platform integration.
Any issue that crops up in the logic of the underlying Facebook SDK will reflect in any apps that use it. Just like the May situation, improper handling of unexpected invalid data on Facebook part is resulting in the crashes.
The Facebook SDK is very popular and widely used in the iOS app ecosystem, which exacerbates the issue dramatically. If you’ve noticed your favorite apps crashing today, then this is probably why. Affected apps include Spotify, Pinterest, TikTok and many more.
Spotify Desktop App
Facebook has said it is investigating the problem and will likely fix the server-side issue within a couple of hours. As an individual user, there’s not much you can do apart from wait for the issue to be resolved. Some users have noted that they can launch apps in Airplane Mode successfully, but that’s little help as most apps require network access to function anyway. But if you have downloaded music to play offline in Spotify, for instance, this could be useful.
If Spotify is crashing on your iPhone you can avoid the crash bug by launching it with your phone in airplane mode and Wi-Fi turned off. As soon as you re-enable Wi-Fi or 4G then it'll crash again due to the Facebook iOS SDK issue
— Tom Warren (@tomwarren) July 10, 2020
For a little more insight on what is happening behind the scenes, the Facebook SDK communicates back and forth with a data server. The client app code expects the data returned by the server to be in a particular format. But when the server suddenly starts sending data in a different format, the framework code is not prepared to handle the invalid response. So, the app code tries to access values that don’t exist — which leads to a fatal error and the app crashes.
![]()
There are approaches that Facebook can use to guard against issues like this. For instance, when data is not how it should be, the SDK could be programmed to no-op without bringing the entire app down with it. It’s likely that engineering work to do this is already underway, it just takes time to track down every case where defensive checks need to be added, especially in a codebase as large and as sprawling as Facebook’s.
Spotify App Crashing On Mac Pro
FTC: We use income earning auto affiliate links.More.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |