Live data from Hacker News

App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m

github.com

171–180 of 446 posts

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

#171

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.

That's amateur hour stuff. Every developer in pretty much every language or platform learns VERY quickly what happens when you don't do a null check.

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

#172
post #20

Workaround for users: Enable airplane mode and disable WiFi, or block facebook domains Workaround for developers: Go to Facebook Developer page > Analytics and disable automatic Events.[0] Apparently this doesn't solve the issue for everyone. Issue in Facebook's tracker: https://developers.facebook.com/status/issues/17391881029111... [0] https://github.com/facebook/facebook-ios-sdk/issues/1427#iss...

Better workaround for everyone: Delete the Facebook SDK from your app and start caring about your users' privacy (and app stability).

That's not a workaround, that's final solution

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

#173

Earlier quoted context omitted.

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.

You can still download the history as a text file though - I did that.

Isn't that just for one chat? Can you download all combined?

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

#174
post #157
post #118

Earlier quoted context omitted.

Current position of Apple is if you're going to include the FBSDK Sign-In you have to include the Apple Sign-In button too. Removing FBSDK is also acceptable to Apple. So Apple have put out an incentive to their third party Devs while still giving some freedom.

Do you really need the SDK for Facebook Login? It's just OAuth.

Yes. FB will block your app for implementing FB sign in on iOS/Android without their SDK.

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

#175

Earlier quoted context omitted.

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.

I gave up after realizing that Signal will not deliver message for a couple of days and that message notification doesn't work. Why wasting personal credit on something that is clearly inferior from the usability point of view. And after it started insisting on creating a PIN each time I start Signal, I finally deleted it from my phone. You can forget about security if you can't get a seamless user experience.

Oh God, the PIN creation is so annoying. Whatever possessed them that that was a good idea? Note that even after creating the PIN the app doesn't quit nagging you, it 'helpfully' continues to remind you to re-type it so you don't forget.

Plus, it's just a terrible UX for a SMS client. I really wanted to like it, but it's just too obnoxious to use. I've certainly not recommended it, I've had better luck switching relatives to Linux mint (seriously, I am not exaggerating). Creating a group MMS is annoying, and there's a nag screen if you try to call someone from a message within the app. I understand that most of these problems are due to the secure nature of the app, but trying to use it as your full-time SMS client is just too much of a pain. I'll likely still keep it installed, as the 1 thing it does do is make it really easy to transfer files/send messages between devices (send messages to yourself, then download them using the client's for other OS's).

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

#176
post #157
post #118

Earlier quoted context omitted.

Current position of Apple is if you're going to include the FBSDK Sign-In you have to include the Apple Sign-In button too. Removing FBSDK is also acceptable to Apple. So Apple have put out an incentive to their third party Devs while still giving some freedom.

Do you really need the SDK for Facebook Login? It's just OAuth.

No you don't. Like you said, it's using standards you can implement without the SDK.

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

#177
post #41

Earlier quoted context omitted.

this, combined with a wrong past technical decision that we can not change it instantly. unfortunately it's not as easy to fix mobile bugs as it is on the web, as you have to both pass the approval process and wait for the full rollout to clients. in our case, it's just a wrong decision, we don't use it for tracking. also, if you use facebook login, the terms and conditions force you to use their SDK (which automatic…

> we don't use it for tracking True, you're just facilitating, not profiting. Such a clear and obvious good reason to drop support and walk away.

Some people like to keep their job...

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

#178

How/why does Spotify app use Facebook iOS SDK?

You can login to Spotify via Facebook as you can see in the web version: https://accounts.spotify.com/en/login/ For doing that in a app they require the SDK, which then does all the spying for Facebook.

Why is the Facebook integration not lazy-loaded only for users who log in through an FB account?

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

#179

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.

> 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. But why would WhatsApp store it unencrypted on Google Drive, and encrypted (without giving you any access to the key) on your own SD card or local backup? It makes no sense. Except ... Google and Facebook have agreed that WhatsApp stores the database unencrypted, and in return Google…

The unencrypted backup system is almost certainly implemented mainly to give government authorities easy access to chat history when presented with a warrant whenever possible. Since this is offered as a helpful feature, very few think twice about the part in asterisk. This way they can comply with warrants without backdooring their app while continuing to sticker label "end to end encryption" and giving people comfort that their data is in "their" drive. There's no other reason really for such a weird arrangement.

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

#180
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…

I really wanted to like Signal and switch, but it seems to require a phone #. Are you OK with tying private conversations to an identifiable ID or did you find a work around?
Post reply on HN