Skip to content

bump targetSdkVersion to 28

Here's what needs to happen to bump targetSdkVersion to the latest version: 28

  • remove all <receiver> from AndroidManifest.xml and make them load in FDroidApp.onCreate().
  • add ACCESS_COARSE_LOCATION permission for WifiManager.getConnectionInfo()
  • implement one or more notification channels to post notifications to users
  • update SwapService's use of startForeground() based on Context.startForegroundService()
  • review use of Locale.getDefault()
  • check whether Unknown Sources is enabled using canRequestPackageInstalls() https://developer.android.com/studio/publish/#publishing-unknown
  • check that a valid ContentProvider is defined for the authority in all Uris
  • separately check whether READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are allowed
  • request FOREGROUND_SERVICE for SwapService
  • use versionCodeMajor attribute
  • use getLongVersionCode() method for PackageInfo
  • replace calls to deprecated, embedded BouncyCastle for ZIP/JAR signing

sources:

Timeline of various app stores: https://android-developers.googleblog.com/2019/02/expanding-target-api-level-requirements.html

Edited by Hans-Christoph Steiner
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information