Skip to content

Full support for Android 12 and NativeScript 8

Compare
Choose a tag to compare
@agonper agonper released this 04 Apr 17:37
· 39 commits to master since this release

This release includes full support for Android 12 and NativeScript 8.

Warning: This release contains breaking changes

To be more specific:

  • Migration to the latest version of the scoped nativescript-couchbase plugin, which under the hood uses CouchBase Lite 2.8. This means that you'll have to increase your min SDK number to 22 (Android Lollipop 5.1). If you need to work with older Android versions, you must stick with the v2.x of this plugin, which still works with NS8 although it does not benefit from its latest optimizations.

It also includes the following features:

  • Full Android 12 (target SDK 31) support. More specifically, all PendingIntent creations have been updated to work with mutability flags. A permission to set exact alarms is requested by default (check if your application's aim falls under the acceptable use cases for making use of them before targeting this SDK). Additionally, we also provide the basic logic to request the missing exact alarm permission in case it gets revoked by the user or the system.
  • Improved traceability tools, concretely, better usage of ApplicationSettings to track when an alarm gets scheduled and when does it fire. Mainly intended for diagnostic purposes.

Finally, this release also includes many security fixes.

Summary of PRs included in this release

  • Fix application settings timestamps by @matey97 in #30
  • Bump follow-redirects from 1.13.3 to 1.14.7 in /demo by @dependabot in #31
  • Bump log4js from 6.3.0 to 6.4.0 in /demo by @dependabot in #32
  • Bump follow-redirects from 1.14.7 to 1.14.8 in /demo by @dependabot in #34
  • Bump karma from 5.2.3 to 6.3.16 in /demo by @dependabot in #35
  • ci: bump CI dependencies versions by @agonper in #38
  • Upgrade to TS 4.5 by @agonper in #39
  • Migrated to scoped couchbase plugin by @agonper in #40
  • Ns8 migration + basic Android 12 support by @agonper in #42
  • Android 12 exact alarm permissions + fixes to battery savings permission request by @agonper in #43

Full Changelog: v2.0.1...v3.0.0