Re:Sex toy company Lovense admits its Android app locally st...
by beefield on Friday November 10, 2017 @06:52PM
(#15674099)
Apologies for my laziness, but what is meant by "private API" here and why Apple does not want them to be used?
[ Parent
| on HN ]
Re:Sex toy company Lovense admits its Android app locally st...
by natch on Friday November 10, 2017 @08:35PM
(#15674505)
They are functions (in the programming sense) that can be called by other code, but Apple reserves them for their own use. They don't necessarily have anything to do with privacy, though some of them do. The "private" refers to them not being publicly documented and not provided for developer use. Internal developers at Apple are allowed to use them, but only as appropriate. Consider a function (API) that allows one to wipe the phone. Apple doesn't want just anyone to be able to write an app that provides that feature. Same with a lot of other functionality. Other private APIs are things that Apple might someday offer to developers, but hasn't yet. For example, Apple can change the icon of its own apps (note the calendar app, which shows the current numeric month day, and the clock app, which shows the time including moving second hand) but it does not offer this functionality to developers. [Edit: I was wrong about this; see firloop's comment below.] If they did, the results could be off the rails, visually, and make the platform look bad, so I expect when they do allow this, they'll do it with a heavy review process in place... but that's just one small example. A lot of private APIs are more under the hood housekeeping stuff that you just don't want the average programmer to mess with.
Re:Sex toy company Lovense admits its Android app locally st...
by firloop on Friday November 10, 2017 @08:43PM
(#15674527)
The API to change an app's icon is not private (as of iOS 10.3)
https://developer.apple.com/documentation/uikit/uiapplicatio...
Re:Sex toy company Lovense admits its Android app locally st...
by duskwuff on Friday November 10, 2017 @09:02PM
(#15674582)
However, it's much more restricted than the functionality natch referred to. An app can only change its icon while running, and even then only with the user's explicit permission.
Re:Sex toy company Lovense admits its Android app locally st...
by natch on Friday November 10, 2017 @08:43PM
(#15674529)
Oooh, nice! Thanks.
Re:Sex toy company Lovense admits its Android app locally st...
by alsetmusic on Friday November 10, 2017 @08:03PM
(#15674396)
> Apologies for my laziness, but what is meant by "private API" here and why Apple does not want them to be used?
Private APIs are not meant for use by third-party developers. They are not publicly documented and are subject to change without warning.
Re:Sex toy company Lovense admits its Android app locally st...
by NegativeLatency on Friday November 10, 2017 @07:48PM
(#15674332)
Often the private APIs are used to track users, because they allow getting identifying serial numbers from the phone.
Apple markets privacy as one of the features for the iPhone.