News for hackers. Stuff that matters.
Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by mattgreenrocks on Friday July 10, 2020 @11:20AM (#23792391)
Let's avoid lionizing/denigrating here.

They're using static initialization and it bit them in the ass again. They should stop using it because it is prone to things like this which result in apps not launching at all. I'd like to see them commit to stop using this method to initialize themselves, and take responsibility for the crashes. Then, IMO, we'd be good.

In a scenario like this, I'd hope they'd want to make this bug's recurrence impossible.

Re:App suddenly crashing on startup due to FBSDKRestrictiveD... by tdrp on Friday July 10, 2020 @06:26PM (#23797303)
It was horrifying to see how many config changes you have to do to basically beg facebook not to send back data to their server. Most of these were hidden in various corners of the documentation and I still suspect there's crap being sent back without permission. I would love nothing more than to disable the SDK entirely but we have a few hundred thousand users logged into our app via Facebook.

Here is our Android config in case anyone's interested:

<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="false"/>

        <meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled"
                android:value="false"/>

        <meta-data android:name="com.facebook.sdk.AutoInitEnabled"
                android:value="false"/>