Live data from Hacker News

App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

github.com

131–140 of 446 posts

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#131

Earlier quoted context omitted.

I'm pretty sure that's the same agreement that every developer has with Google just by writing an android app and using Google APIs. You can store data on Google Drive that isn't accessible from Google Drive and only that app can read or write it.

Is that a GDPR violation?

I would guess this is actually done by many to conform to the regulation.

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#132

How 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.

People are using third party code without fully understanding what they’re bringing in or the consequences of bringing it in.

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#133

Earlier quoted context omitted.

Yes, it's definitely time for some slightly enhanced armchair activism! Convert all active whatsapp contacts to signal? 80%? 50%? Same for Facebook messenger! It needs to be uncomfortable enough - if they want to communicate with us and are minimally tech savvy ("click link to install app") they have to switch to signal . That's it. I'm starting to send out messages over my morning coffee. Let's do this together: htt…

I've been converting people to signal for years, I've got everyone in my life to switch except for my parents and 2 coworkers.

Ive done that too. But I've experienced a lot of people removing it again.

The result is uncomfortable, since Signal never knows the other side removed it, so messages land in thin air. Several times did I have awkward moments when someone was angry "I thought you'd let me know if it was cancelled" - "I did - I sent you a text about that two days ago! On Signal!"

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#134

Earlier quoted context omitted.

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…

This is exactly what happens. Basically a null value is converted into an NSNull object and calling count on it will of course throw an exception... because there is no count method in that class... It makes me wonder what all those engineers at FB are actually doing... ? Every time I tried to integrate or look into the FB SDK for simple functionality it was a total clusterfuck.

Sounds like a good reason to stop trying.

A bit of snark but also maybe stop trying to use a data collection engine to leverage anything for yourself?

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#135
post #103
post #63

How is Apple not addressing this? This seems like a pretty glaring hole in their tightly controlled environment. If the SDK is injecting code, shouldn’t that be an explicit permission?

I mean what would they do?

Heavy restrictions on how apps use third party SDKs for signing in, forcing FB to change its policy of requiring the SDK for native apps which use FB to sign in.

And then reject new app updates which don’t follow the new rules.

Or just outright ban this spyware.

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#137
post #114

Earlier quoted context omitted.

The fact that we as in industry and we as citizens of free nations do not end these operations, terminate their corporate charters and throw the responsible in jail is indicator #1 that freedom (not the GOP free-dumb) as we know it is in it's death rattle.

Why are people using the facebook sdk? What does it give them?

I'm using it for realtime analytics (dashboard like mixpanel) also this brings authentication and other FB Integration

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#138
post #71

Earlier quoted context omitted.

Do you know which domains one would need to block?

facebook.com fbcdn.com fbcdn.net fbsbx.com fb.com instagram.com WhatsApp can work without these, but maybe a smaller subset would suffice. NextDNS[0] for iOS can be used for the blocking. [0] https://nextdns.io/

What if I want to keep using Messages app (I know I know, but I can’t avoid it)

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#139
For end users who need affected apps right now:

1) Download NextDNS from App Store

2) Open app. Hit (...)

3) Enable Custom Configuration, Config ID 22776a

It’ll DNS block some ads and Facebook domains. Turn off after you’re done. Also assume any DNS server offered by random dude as poisoned.

Edit: Issue resolved! People, turn it off or switch to your own configuration.

Re: App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

#140
post #64

Waze, a google owned app for the past 4 years, crashes because of the FB app. WhatsApp, a Facebook owned app, will not give you read access to your own chat database - it’s encrypted. But they have an arrangement with Google where it’s will back up unencrypted to your Google account (though, Google won’t let you retrieve it ... only the WhatsApp app can) Everything about this duopoly, their cooperation and lack of co…

Also, you can't migrate WhatsApp between iPhone and Android. There's a utility called BackupTrans, which follows an extremely convoluted process including a step where they install an old version of WhatsApp. It seemed to work but it trips some wire and WhatsApp put me in an hour-long timeout state, twice. Since I very much depend on WhatsApp, I dare not use it anymore.

The platform lock-in because of this is immense.
Post reply on HN