App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
51–60 of 446 posts
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#52I use a non-Facebook login on Spotify and the app crashes right there. How is this even possible, even less acceptable from Spotify point of view?
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#53How is it that a third party SDK is consistently causing apps to completely crash rather than, for example, displaying an error message? Is this a failure that cannot be caught? Sorry, just trying to understand. The dependency relationship just seems to be extreme.
>To stop crashes from the Facebook SDK, some devs tried commenting out any code that calls Facebook. Nothing worked. >It turns out that by just including the SDK with your app, Facebook runs hidden code on launch. (FBSDKApplicationDelegate.m) [0] https://twitter.com/sandofsky/status/1258288056399847425
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#54Earlier quoted context omitted.
>To stop crashes from the Facebook SDK, some devs tried commenting out any code that calls Facebook. Nothing worked. >It turns out that by just including the SDK with your app, Facebook runs hidden code on launch. (FBSDKApplicationDelegate.m) [0] https://twitter.com/sandofsky/status/1258288056399847425
... so if the app including the SDK has permission to access location data, the SDK could be passing that location data to Facebook?
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#55Earlier quoted context omitted.
>To stop crashes from the Facebook SDK, some devs tried commenting out any code that calls Facebook. Nothing worked. >It turns out that by just including the SDK with your app, Facebook runs hidden code on launch. (FBSDKApplicationDelegate.m) [0] https://twitter.com/sandofsky/status/1258288056399847425
... so if the app including the SDK has permission to access location data, the SDK could be passing that location data to Facebook?
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#56How is it that a third party SDK is consistently causing apps to completely crash rather than, for example, displaying an error message? Is this a failure that cannot be caught? Sorry, just trying to understand. The dependency relationship just seems to be extreme.
My guess in this particular instance is that it seems like the Facebook SDK is fetching some sort of remote serialized configuration, calling “count” on what it expects to be an array, and instead is calling it on NSNull (an object representing “null”) which is throwing an exception. There are some intricacies on iOS surrounding null values and serialization, and as a developer it is important to understand that you…
Source: have had that issue before
Also maybe it’s time for them to start rewriting things in Swift, where this would be much less likely to happen
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#57Even ignoring the privacy concerns, this is unjustifiable.
Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#58Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#59Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
#60I use a non-Facebook login on Spotify and the app crashes right there. How is this even possible, even less acceptable from Spotify point of view?
None of the apps broken on my phone require Facebook features for core functionality. Downtime happens, but downtime due to your non-essential & user-hostile ads/tracking/social SDK? These companies deserve every single cent of lost revenue.