Live data from Hacker News

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

github.com

81–90 of 376 posts

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

#81

Earlier quoted context omitted.

(For the iOS engineers reading along: please don't put network calls in +load, or __attribute__((constructor)), or a C++ static variable, or whatever other clever way you think you can get code execution before main.)

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…)

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

#82

Earlier quoted context omitted.

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

Facebook doesn't seem like the kind of company that would be outsourcing their SDK development to some random Indian outsourcing firm stuffed with graduates from second-tier engineering schools that don't know their : from their ;

oh I didn't imply outsourcing, they're in the bay area

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

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

(For the iOS engineers reading along: please don't put network calls in +load, or __attribute__((constructor)), or a C++ static variable, or whatever other clever way you think you can get code execution before main.)

Spoken like someone who has never tried to optimize startup time. If network is your blocker, you need to do it as soon as possible

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

#84
post #77
post #36

For those wondering why the Facebook SDK is so widely used in popular mobile apps: Facebook Login is actually in the minority of reasons to add the Facebook SDK to your mobile app. The vast majority of apps will add the Facebook SDK because it contains Facebook App Ads; a library that "completes the circle" in terms of finding out how effectively the ads you ran on Facebook were at getting people to download, install…

I'm not interested in arguing definitions. I look at what apps on my phone do, and delete anything that wants to talk to the surveillance shops. It is that simple - I don't trust or use FB, and of course that includes third party FB feeders.

Genuinely curious here, which apps have you kept and use daily? The number of monetized apps that don't talk to Google/FB (or other install trackers) is likely in a very small minority.

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

#85

Hm my whatsapp crashed midcall today, wonder if they use the Facebook SDK or something else

Given that whatsapp is owned by facebook, that seems very likely.

that's exactly why I was wondering if they use something else, a better internal shared library for accessing facebook services

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

#86
post #52
post #36

For those wondering why the Facebook SDK is so widely used in popular mobile apps: Facebook Login is actually in the minority of reasons to add the Facebook SDK to your mobile app. The vast majority of apps will add the Facebook SDK because it contains Facebook App Ads; a library that "completes the circle" in terms of finding out how effectively the ads you ran on Facebook were at getting people to download, install…

>Is that "spyware"? Yes, absolutely. It uses energy and bandwidth I paid for to surreptitiously transmit my information for use which will solely benefit Facebook and the software developer.

> will solely benefit Facebook and the software developer.

I mostly agree. But, in some(most) also the user by encouraging the developer to release updates and launch new features.

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

#87
post #52
post #36

For those wondering why the Facebook SDK is so widely used in popular mobile apps: Facebook Login is actually in the minority of reasons to add the Facebook SDK to your mobile app. The vast majority of apps will add the Facebook SDK because it contains Facebook App Ads; a library that "completes the circle" in terms of finding out how effectively the ads you ran on Facebook were at getting people to download, install…

>Is that "spyware"? Yes, absolutely. It uses energy and bandwidth I paid for to surreptitiously transmit my information for use which will solely benefit Facebook and the software developer.

> Is that "spyware"?

>> Yes, absolutely.

Much much worse: https://news.ycombinator.com/item?id=19595478

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

#88
post #72

Earlier quoted context omitted.

One single bug is why their process is bananas inappropriate? I really hope all of your code is perfect every single time to be acting so high and mighty.

This is so shortsighted it’s painful. You’re describing the attitude Facebook takes towards candidates, not the attitude I take towards anything. Candidates should be saying to Facebook, “ I really hope all of your code is perfect every single time to be acting so high and mighty” and absolutely making a huge deal out of a case like this when it isn’t.

You are making a MASSIVE assumption that most people dislike Leetcode. I personally don't and neither does anyone I know. It's way better than the interview formats of almost every other profession out there that's 2 parts sucking up, 2 parts connections, and 1 part luck. Show me a better process that can handle 100,000+ candidates a year with a stronger signal and less or equal time invested and I'll change my mind. At the very least, hating the current process shows that you're lazy, stubborn, and unwilling to learn what is necessary to get the job done. Hardly desirable traits in a coworker.

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

#90
post #36

For those wondering why the Facebook SDK is so widely used in popular mobile apps: Facebook Login is actually in the minority of reasons to add the Facebook SDK to your mobile app. The vast majority of apps will add the Facebook SDK because it contains Facebook App Ads; a library that "completes the circle" in terms of finding out how effectively the ads you ran on Facebook were at getting people to download, install…

If you squint then the Venn diagram of "spyware" and "knowing if your marketing budget was wisely spent" is a circle.

No need to squint, just cross your eyes ever-so-slightly
Post reply on HN