Repository navigation
Releases
Releases · SecNtfy/SecNtfy-Android
Release 2.1.0
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 addedD_IsSimulator,D_IsDebug, andD_AppVersionto ensure robust decoding of legacy payloads. - Key Update API (
updateKeys): AddedupdateKeys()(and deprecatedUpdateKeys()) 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), andD_AppVersion(PackageManager) duringconfigure(), matching the Swift implementation. - API Endpoints & Error Handling: Added
updateDeviceAPI method and improvedApiResponsedecoding 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
Harden delivery acknowledgements, registration and decryption errors. Modernize JitPack publishing. Breaking change: callers must handle NtfyException for failed operations.
1.1.2.1
1.1.2
1.1.1
1.1.0
1.0.0
0.0.1
Full Changelog: https://github.com/SecNtfy/SecNtfy-Android/commits/0.0.1