From 1a48488e0f08dfcaa8dea8ad31f6bf3feb870159 Mon Sep 17 00:00:00 2001 From: zwewaiyanhtet Date: Fri, 4 Sep 2026 16:14:08 +0900 Subject: [PATCH] Version bump --- CHANGELOG.md | 5 +++++ ios/pokepay_sdk.podspec | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85f3290..5a85a2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.2.2 +* Fixed a NullPointerException on Android when `requestId` was omitted (null) on `createTransactionWithBill`/`WithCashtray`/`WithCheck`/`WithCpm` and `createTransactionWithJwt` -- a null `requestId` is now passed through to the native SDK instead of being parsed as a UUID +* Added validation for `requestId`: it must be a lowercase RFC 4122 UUID in the 8-4-4-4-12 hexadecimal form, and a malformed value now throws a `ProcessingError` on both platforms. Previously iOS silently dropped a malformed `request_id`, creating a non-idempotent transaction that could double-charge on retry +* Bumped the iOS `Pokepay` dependency to 2.2.1 + ## 2.2.1 * Fixed a FormatException when parsing dates on iOS devices set to 12-hour time (the date formatter now uses the `en_US_POSIX` locale) diff --git a/ios/pokepay_sdk.podspec b/ios/pokepay_sdk.podspec index 76d0e14..6094d41 100644 --- a/ios/pokepay_sdk.podspec +++ b/ios/pokepay_sdk.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'pokepay_sdk' - s.version = '2.2.1' + s.version = '2.2.2' s.summary = 'Pokepay flutter SDK' s.description = <<-DESC Pokepay flutter SDK @@ -15,7 +15,7 @@ Pokepay flutter SDK s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'Pokepay', '2.2.0' + s.dependency 'Pokepay', '2.2.1' s.platform = :ios, '12.0' # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. diff --git a/pubspec.yaml b/pubspec.yaml index a9addb9..d358774 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pokepay_sdk description: SDK for pokepay -version: 2.2.1 +version: 2.2.2 homepage: https://pay.pocket-change.jp/ environment: