# CHANGELOG

## Unreleased

## 2.3.1

### Fixed
- iOS: build the payment `UIWindow` against a `UIWindowScene` on iOS 13+ instead of always using `initWithFrame:`. A `UIWindow` created with `initWithFrame:` alone is never attached to a scene, so on scene-based apps it never became key and the payment UI stayed invisible. The scene is chosen via a shared `activeWindowScene` / `makePaymentWindow` helper used by both `open:` and `redirectToBankPage` (native OTP bank page). Prefers foreground-active, then foreground-inactive, then any connected window scene; `initWithFrame:` is used only when the app has no window scene at all (legacy AppDelegate-based apps). Also sets `rootViewController` before `makeKeyAndVisible` and logs a diagnostic when the window is not key.
