Live data from Hacker News

Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

github.com

291–300 of 376 posts

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#291
post #289

Maybe this will motivate product owners, developers, marketers, to start thinking before implementing a dozen of SDKs in a mobile app (or website). It's understandable when you need some analytics/crash reporting, but it becomes a privacy and ethics question when a lot of data is wandering around, and even better, crashes your app. And the users will blame you, they don't even know how many SDKs are there and what th…

> And the users will blame you

Rightfully so. If you add an SDK to you app, it's your fault if the SDK causes your app to crash.

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#293

Earlier quoted context omitted.

Even better: don't override +load or use static constructors!

Eh, I wouldn't go that far; they do have their uses. But for a SDK author, it pays to be excessively cautious when putting things on the application startup path. (Something which the Facebook is well aware of, as the dyld session is always full of their company's engineers, and the architecture of their app shows that put effort into meeting launch deadlines…)

Every bad thing has its uses. If an SDK author wants to be a responsible participant in the app's startup path, it will defer its own setup to the app.

`__attribute__((constructor))` is most obviously a hack – like any great hack, it is useful enough to be implemented everywhere, but it will never be standardized because everyone acknowledges that it sucks. I used to use it! But it is extremely limited in its usefulness, and there are always better solutions to the problem.

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#294

Earlier quoted context omitted.

Can we agree that each restaurant having a separate app is one of the dumbest outcomes imaginable?

That's not how it actually is. Apple actually rejects those type of template apps. The restaurants use an ad-hoc way of installing the apps. So those apps are only available to the restaurant for example.

No, Apple accepts white label applications. Their requirement is that if you're going to release a white label application, then it should be released under the customer's own individual Apple developer account rather than having them all under one developer account.

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#295
post #228

Earlier quoted context omitted.

>Software developers want to know whether their existing marketing methods are effective. The FB SDK helps with this. As you mention, this is something the software developer want, not necessarily the user . >You always have the choice to not install the app (if you don't want to). This argument may have some teeth if directed toward a user in our industry. Depending on the scope of the particular software in questio…

This very same argument would apply to, say, "5% of the price of my dinner goes towards healthcare for the waitstaff. That's something the company wants, not something I want." There are much better argument for it being spyware, e.g., that it spies. It's not a very strong argument that a thing is bad simply because it helps the provider of the thing.

It is not the same argument. Money is fungible, you know exactly what you are paying and the cost to you, how the money is used is not usually your problem [1]. In this case you have no idea how much and with what you are paying. The app could be exfiltrating all kind of information and you have no way of knowing.

[1] although people might have issues with unethical or illegal uses.

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#296

But all of the engineers passed LeetCode, how could this be?

the product manager began telling engineers to "do the needful" gotta localize the English to get the point across

Your comments have taken a noticetable turn to the trollish lately. If that keeps up, we're going to ban you again. Can you please review https://news.ycombinator.com/newsguidelines.html and course-correct?

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#297
post #39

Seems to be some suggestions now that apps were continuing to crash even after commenting out the FB implementation because FB is managing to do remote API calls just because the framework is linked. https://github.com/facebook/facebook-ios-sdk/issues/1373#iss... > It does not matter. Their libraries are dynamic, and they abuse +load functions for classes with some business logic calls. So, +load will be called anywa…

The Facebook SDK does make some calls on init. https://developers.facebook.com/docs/app-events/gdpr-complia... From them: "The Facebook SDK automatically initializes when the app is opened. When the SDK is initializing, it fetches app settings from Facebook. If you want to block all network requests to Facebook, you can disable automatic initialization." If you want to turn it off, you're supposed to set in your app'…

> If people are claiming that the SDK is still fetching despite adding that key, that could be breaking some compliance and consent laws...

It is still a violation of GDPR as I as the user never have the chance to consent (or not consent!) to any data transfer to Facebook. But as no one seems to be willing to go after FB... sigh.

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#298

Earlier quoted context omitted.

Would you expect a separate app for people who login using Facebook and people who login without?

You can implement Facebook login server-side with basic oAuth. No requests to Facebook are necessary until the user actually wants to log in with Facebook.

That’s something you have no control over if you use the Facebook SDK

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#299

Earlier quoted context omitted.

>Having a government full of technical lot illiterate politicians regulating digital advertisement - what could possibly go wrong. I'm not sure that argument works. If we expand a bit, It wouldn't be difficult to find that governments are mostly comprised of illiterate politicians. There is no need for a government to be comprised of digital advertisement industry specialists in order to pass meaningful industry regu…

Those who don’t learn from history.... https://en.wikipedia.org/wiki/Communications_Decency_Act https://en.wikipedia.org/wiki/Digital_Millennium_Copyright_A... And a few where we dodged a billet. https://en.wikipedia.org/wiki/Stop_Online_Piracy_Act https://en.wikipedia.org/wiki/Pirate_Act

History has much scarier lessons about governments abusing detailed lists of population preferences.

Re: Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More

#300

Earlier quoted context omitted.

And at some point, companies are allowed to make their own decisions about how they want to instrument and monetize their products. This general complaint about not liking a component of someone else's software doesn't resonate with me at all. Not that you're wrong, but we just have different values. I sometimes will load a website that uses React when really it's just a static content site. It just gets tiring, and…

> With sincere respect, I don't understand this argument, in general, whenever it comes up. Whenever I find a discussion unhelpful or tedious, I move on or mute it. Often, I've been in an interesting online discussion, and someone pipes up with the wish for everyone to stop talking about this topic because it's not interesting, when they have the tools available to not follow the discussion. Can you explain? Honest q…

At the risk of getting downvotes for being snarky, it essentially boils down to the "Stop it, you're having fun wrong!" nerd stereotype.
Post reply on HN