Skip to content

Releases

Release 2.1.0

Choose a tag to compare

@androidseb25 androidseb25 released this 21 Oct 12:20

SecNtfy-Android v2.1.0

This release aligns the Android :secntfy library with the latest API updates from the Apple Swift Package Manager (SPM) version (SecNtfy-SPM), ensuring cross-platform feature parity, robust payload deserialization, and improved device registration.

What's Changed

  • Optional Device Metadata (NTFY_Devices): Updated all properties to be optional (Int?, Boolean?, String?) and added D_IsSimulator, D_IsDebug, and D_AppVersion to ensure robust decoding of legacy payloads.
  • Key Update API (updateKeys): Added updateKeys() (and deprecated UpdateKeys()) to generate a fresh 2048-bit RSA key pair and publish the new public key to the server (/Device/Update).
  • Automatic Device Metadata Population: Automatically populate D_IsSimulator (emulator detection), D_IsDebug (ApplicationInfo.FLAG_DEBUGGABLE), and D_AppVersion (PackageManager) during configure(), matching the Swift implementation.
  • API Endpoints & Error Handling: Added updateDevice API method and improved ApiResponse decoding with message handling.
  • Unit Tests: Added comprehensive test cases for optional device metadata parsing and successful key rotation (/Device/Update).

Usage (JitPack)

implementation("com.github.SecNtfy:SecNtfy-Android:2.1.0")

Release 2.0.0

Choose a tag to compare

@androidseb25 androidseb25 released this 10 Sep 11:36
Harden delivery acknowledgements, registration and decryption errors. Modernize JitPack publishing. Breaking change: callers must handle NtfyException for failed operations.

1.1.2.1

Choose a tag to compare

@androidseb25 androidseb25 released this 02 Jul 12:22

Full Changelog: 1.1.2...1.1.2.1

1.1.2

Choose a tag to compare

@androidseb25 androidseb25 released this 02 Jul 12:13

Full Changelog: 1.1.1...1.1.2

1.1.1

Choose a tag to compare

@androidseb25 androidseb25 released this 02 Jul 12:05

Full Changelog: 1.0.0...1.1.1

1.1.0

Choose a tag to compare

@androidseb25 androidseb25 released this 02 Jul 11:57

Full Changelog: 0.0.1...1.1.0

1.0.0

Choose a tag to compare

@androidseb25 androidseb25 released this 02 Jul 11:55

Full Changelog: 0.0.1...1.0.0

0.0.1

Choose a tag to compare

@androidseb25 androidseb25 released this 11 Mar 18:27