Navigation

Android SDK changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[4.1.1] - 2026-08-03

Fixed

  • The system back button and the back gesture closed a challenge instead of navigating inside it, which 4.1.0 did not actually fix. Once the challenge page builds history the WebView registers its own back handler, and from that point Android stops calling Activity.onBackPressed, so the override added in 4.1.0 never ran. ChallengeActivity now registers its own handler at PRIORITY_OVERLAY.

[4.1.0] - 2026-08-03

Fixed

  • The published POM listed no dependencies, so the SDK arrived without okhttp, okhttp-sse, or the coroutines libraries and threw ClassNotFoundException: dev.rupt.realtime.EvaluationListener$listener$1 on the first Rupt(...). Anyone on 4.0.0 should upgrade.
  • The system back button no longer closes a challenge. It navigates within the challenge and stops there, matching iOS. Backing out used to skip the challenge while the SDK still considered it open. Close one from your app with dismissChallenge().
  • RuptContainer now navigates back inside the challenge web view, where before it only fired onBackButtonPressed.

Changed

  • Compose is a compileOnly dependency. Compose hosts already supply their own and are unaffected; hosts on the View system no longer pull Compose in for a composable they never call.

[4.0.0] - 2026-06-28

Changed

  • Rebuilt the Android SDK as the client for the Rupt v3 API. This release moves the SDK fully onto v3 and supports the entire v3 surface.
  • This is a breaking change. See the quick start guide for updated usage.

[3.7.3] - 2025-10-29

Changed

  • Unified system back button handling with the programmable navigation back button.
  • Added canGoBack parameter to the onBackButtonPressed callback function.

[3.7.2] - 2025-10-23

Changed

  • Changed navigation buttons to show on all screens of the challenge instead of non-main screen only.
  • Changed back button callback to call even if challenge webview cannot go back (i.e. no navigation history).

[3.7.1] - 2025-10-23

Added

  • Exposed hideChallenge() function to manually hide any open challenges and reset the challenge state.

[3.7.0] - 2025-10-23

Added

  • Exposed openChallenge() function to allow opening challenges directly from the SDK.
  • Exposed getHash() function to retrieve device fingerprint hash for server-side evaluations.

[3.6.0] - 2025-08-29

Added

  • Added onBackButtonPressed callback to allow for custom handling of the back button.

[3.5.0] - 2025-08-22

Changed

  • Updated the ChallengeActivity with android:fitsSystemWindows="true" to support apps enabling edge-to-edge mode.

[3.4.0] - 2025-08-17

Added

  • Exposed showChallengeNavigation property on the RuptClient instance to enhance the ability to customize the challenge webview navigation.
  • Exposed onChallengeCompleted callback to the SDK when a challenge should be shown.
  • Exposed shouldStartChallengeActivity callback to the SDK to allow for custom handling of challenge activities.

Changed

  • Improved multi-threading support & callbacks on the SDK.

[3.3.0] - 2025-08-07

Changed

  • Allowed applicationContext to be passed to start a challenge activity.

[3.2.0] - 2025-07-06

Added

  • Moved Android challenges to use WebView instead of native challenges to provide UX parity with web and iOS.
  • Exposed onChallengeCompleted callback to the SDK when a challenge is completed.

[3.1.0] - 2025-06-18

Changed

  • Updated the SDK for to support the latest Rupt challenge APIs.

[3.0.3] - 2024-03-03

Added

  • Added support for the new v3 API for Rupt. V2 is deprecated.
  • This is a breaking change. You will need to update your code to use the new API.
  • See the quick start guide for the updated usage.

Fixed

  • Fixed branding on challenge screens.