Android P will restrict access to unofficial APIs

in #steemitboard7 years ago

android-pi.pngWe had a few hints but now it's official: Google will limit access to non-public APIs starting with Android P. In other words, APIs that are not supported in the Android SDK will no longer be usable by developers. BigG has repeatedly recommended in the past to avoid unofficial APIs in the development of applications to avoid bugs and errors that inevitably emerge unexpectedly with each update.

The reasons why you rely on undocumented APIs are various: sometimes it's just easier, other times there are no official alternatives. This is why Google seems to be willing to change the situation a little at a time. As a first step in fact will be blocked API that are used little or nothing. In these cases, an error will be displayed if you try to access these APIs.

READ ALSO: Program in Kotlin with Android KTX

The limitations will increase inexorably but gradually giving developers time to migrate to official APIs. It will still be possible to use unofficial ones where it is simpler, but only as long as an app is not updated to match the last level of the API. For all other cases where no official APIs exist, a bug tracker has been implemented to request new ones.

Coin Marketplace

STEEM 0.27
TRX 0.21
JST 0.038
BTC 95687.43
ETH 3622.07
SBD 3.85