News for hackers. Stuff that matters.
Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by corndoge on Friday July 10, 2020 @10:46AM (#23791959)
Ah yes.

If hacker news goes down while you are writing this comment, it is your responsibility to ensure you can still post your comment despite the service breakage.

Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by slipheen on Friday July 10, 2020 @10:59AM (#23792138)
Unless your app is designed for browsing Facebook, there's no reason that anything on Facebook's servers should affect if your app works.

Many of the apps crashing are using Facebook for a portion of their app, such as one login option.

Letting that take down the whole app is insufficiently defensive coding, whether in the app, sdk, or glue between them.

Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by frenchy on Friday July 10, 2020 @11:24AM (#23792435)
> there's no reason that anything on Facebook's servers should affect if your app works.

Absolutely, but the problem is that in order for you to use these features, you're supposed to use the official Facebook SDK. The additional problem, is that Facebook has no interest in defensive coding, because if you're not interacting with Facebook in an app, there's no benefit to Facebook for you using that app at all.

Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by corndoge on Friday July 10, 2020 @11:19AM (#23792373)
How do you defend against abort() in library code?
Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by Nextgrid on Friday July 10, 2020 @11:35AM (#23792577)
Don't include libraries which contain such code?
Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by saagarjha on Friday July 10, 2020 @12:03PM (#23792905)
No abort here, the crash is coming from the runtime, which you’re not opting out of if you want your app to work.
Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by slipheen on Friday July 10, 2020 @06:23PM (#23797273)
Then we can agree the FB sdk should have been better written to avoid this, right?
Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by corndoge on Friday July 10, 2020 @06:49PM (#23797490)
Obviously, and now we agree!