Changelog

All notable changes to the InkryptVideos iOS SDK are documented here.

Format follows Keep a Changelog conventions. Versions are tagged in the format v<version> (e.g., v0.9.0).


[Unreleased]

No unreleased changes at this time.


0.9.0

Added

  • Simulator build slice. The XCFramework now includes an arm64 + x86_64 Simulator slice, allowing the SDK to be linked into Simulator builds for UI layout and non-DRM development. FairPlay DRM playback still requires a physical device.

Changed

  • Fullscreen is now landscape. Entering fullscreen rotates the player to landscape orientation automatically. The fullscreen overlay no longer shows a portrait view with a black background.
  • Seek slider shows buffered region. The seek bar now visualises the buffered portion of the video as a secondary fill alongside the playback-position indicator.
  • Language selection is now a dropdown menu. Previously a modal sheet; now a compact inline dropdown, matching the Android SDK behavior.
  • Settings dialogs aligned with Android SDK behavior. Quality, speed, and chapter settings panels now match the Android counterpart in layout and dismissal behavior.
  • Fullscreen controls padding. Bottom control bar padding is more comfortable in landscape fullscreen mode.

Fixed

  • Player state not fully reset when new params provided. Switching videos via params.update(...) now fully resets the player — including the watermark, poster image, and error state — before loading the new video. Previously, stale state from the previous video could persist briefly during the transition.
  • Stuck loading indicator. The loading indicator could remain visible indefinitely after a successful video load in certain edge cases. Fixed.
  • Seek bar glitch. Seeking near the end of the video could cause the playback-position indicator to jitter. Fixed.
  • Audio session configuration. AVAudioSession is now configured at player initialization. Previously, audio could route incorrectly when the app had other active audio sessions.
  • userId persistence bug. The device-specific user ID is now correctly persisted across app launches. A typo in the write key ("ink_user_ud") caused the ID to be regenerated on every launch. The write key is now "ink_user_id", matching the read key. Migration note: users upgrading from any SDK version prior to 0.9.0 will receive a new user ID on first launch after the upgrade — a one-time reset.
  • Concurrency improvements. Player teardown now correctly cancels all in-flight analytics tasks, preventing stale callbacks after the player is released. @MainActor isolation is enforced on all UI-mutating callbacks.