Changelog
Android
Release history for the Stay22 Android SDK.
1.2.0 — September 8, 2026
Changed
- Documented that the SDK installs no cookie handler. Stay22's responses set a
session22cookie carrying the same session id the SDK already sends as a parameter. Android'sHttpURLConnectiondefers to the process-wideCookieHandler.getDefault(), which is your app's to set, so the SDK cannot opt out per connection the way the iOS SDK now does and will not install one on your behalf. If your app has a cookie handler it will keep that cookie; the SDK never reads it either way.
Documentation
- Event handling now documents, and the sample now demonstrates, that a
whenoverStay22Eventneeds anelsebranch. The sealed class ships in a separately compiled binary, so awhencovering only today's subclasses throwsNoWhenBranchMatchedExceptiononce a new event is added. Matches the iOS change.
Fixed
- Partner config is now fetched from
/ext/partner/settingsinstead of/ext/partner. The old path is blocked by an unrestricted rule on AdGuard's spyware filter list, so on a device running a system-wide URL filter the SDK never received its config, never scheduled a notification, and retried on every foreground forever./ext/partner/settingswas added for exactly this reason and the web moved to it in April; both paths are registered to the same handler and return the same payload.
1.1.0 — August 31, 2026
Added
- Integration self-check via
Stay22.diagnostics, reporting each prerequisite as pass/warn/fail with the remedy for anything that fails. Stay22.requestNotificationPermission { granted -> }, which reports the user's actual answer. The existing no-argument overload returns the state before the prompt is answered and is now documented as such.Stay22.advanced.scheduleNotification(force:)for verifying an integration without waiting out the normal delay. Defaults tofalseand never bypasses partner settings.
Changed
- Android and iOS now share a version number.
Fixed
- A transient failure no longer loses that trip's notification permanently.
- Repeated travel-context updates no longer defer a notification indefinitely.
- A notification can no longer be delivered twice after an interrupted network call.
- Notification events raised while the app is not running now reach the host app on next launch.
- The SDK can no longer crash the host app on unexpected internal errors, or in apps with a custom background-work setup.
- Release builds no longer strip classes the SDK needs; minified builds are covered by CI.
- Notification permission is no longer requested when the system cannot show a prompt.
Documentation
- Device-context detection now lists every app checked, with an opt-out.
1.0.13 — August 21, 2026
Added
- Notification impression reporting when a Stay22 notification is displayed.
- A
notification_channel_blockedskip reason, so a blocked channel is distinguishable from a missing runtime permission.
Changed
- SDK activity reporting now includes the installed SDK version for release-level diagnostics.
Fixed
- Treat a blocked notification channel as unavailable. Notifications are no longer scheduled or posted when the user has turned off the destination-suggestions channel while leaving notifications enabled for the app.
1.0.12 — July 16, 2026
Fixed
- The locally built fallback notification link now applies device-context provider exclusions, matching the link the server builds.
Changed
- Aligned the notification link and failure-event
sourcetodirect.
1.0.11 — July 2, 2026
Fixed
- Retry loading partner configuration when the app returns to the foreground, so a failed or interrupted initial fetch no longer blocks notifications for the rest of the session.
1.0.10 — July 2, 2026
Changed
- Notification frequency is now recorded when a notification is shown instead of on the next app launch, so suppression windows start on time and undelivered notifications never count as shown.
- Travel context is cleared once its notification is shown; set travel context again to schedule the next one.
1.0.9 — July 2, 2026
Fixed
- A scheduled notification that never appears (for example when the system cancels or defers the background work) is no longer recorded as shown. This prevents an undelivered notification from starting the post-notification cooldown and suppressing later notifications.
1.0.8 — June 30, 2026
Added
- Initial binary distribution of the Stay22 Android SDK (
.aar) via a Maven repository.
Full release notes and downloads: Android releases