Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by yreg on Friday July 10, 2020 @10:48AM
(#23791980)
So how could the app developers have prevented this, other then not using the SDK? (I'm not advocating for using the SDK.)
[ Parent
| on HN ]
Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by mattgreenrocks on Friday July 10, 2020 @10:50AM
(#23792009)
Would disabling SDK autoinit have fixed this? That was a suggestion raised back in March. Seems like a net win to avoid static initializers in the first place.
(Am not a mobile dev, but it wasn't exactly hard to find that, either).
Re:App suddenly crashing on startup due to FBSDKRestrictiveD...
by Sephiroth87 on Friday July 10, 2020 @11:03AM
(#23792178)
Maybe (although some people report that not working), but not necessarily, as "autoinit" is just an if case checked in the same auto executed code in the Facebook SDK, which could still crash before the flag is checked.