diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dad33c..8e13d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ | モジュール名 | Description | 最新のバージョン | | :-- | :-- | :-- | | KarteCore | イベントトラッキング機能を提供します。 | 2.27.0 | -| KarteInAppMessaging | アプリ内メッセージ機能を提供します。 | 2.17.0 | +| KarteInAppMessaging | アプリ内メッセージ機能を提供します。 | 2.17.1 | | KarteRemoteNotification | プッシュ通知の受信および効果測定機能を提供します。 | 2.11.0 | | KarteVariables | 設定値配信機能を提供します。 | 2.10.0 | | KarteVisualTracking | ビジュアルトラッキング機能を提供します。 | 2.12.0 | @@ -12,6 +12,11 @@ | KarteUtilities | KarteCore モジュール等が利用するUtility機能を提供します。通常直接参照する必要はありません。 | 3.12.0 | | KarteNotificationServiceExtension | リッチプッシュ通知機能を提供します。 | 1.2.0 | +# Releases - xxxx.xx.xx + +### InAppMessaging 2.27.0 +** 💊FIXED** +- 一部の別ライブラリと併用した場合にcrashする不具合を修正しました。 # Releases - 2024.05.09 ## Version 2.14.0 diff --git a/Karte.xcodeproj/project.pbxproj b/Karte.xcodeproj/project.pbxproj index a5a60bf..1bcba85 100644 --- a/Karte.xcodeproj/project.pbxproj +++ b/Karte.xcodeproj/project.pbxproj @@ -3896,7 +3896,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 2.17.0; + MARKETING_VERSION = 2.17.1; PRODUCT_BUNDLE_IDENTIFIER = io.karte.KarteInAppMessaging; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; @@ -3929,7 +3929,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 2.17.0; + MARKETING_VERSION = 2.17.1; PRODUCT_BUNDLE_IDENTIFIER = io.karte.KarteInAppMessaging; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; diff --git a/KarteInAppMessaging.podspec b/KarteInAppMessaging.podspec index 281d4e7..1899fd0 100644 --- a/KarteInAppMessaging.podspec +++ b/KarteInAppMessaging.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'KarteInAppMessaging' - s.version = '2.17.0' + s.version = '2.17.1' s.summary = 'KARTE In-app messaging SDK' s.homepage = 'https://karte.io' s.author = { 'PLAID' => 'dev.share@plaid.co.jp' } diff --git a/KarteInAppMessaging/Swizzlers/UIViewControllerProxy.swift b/KarteInAppMessaging/Swizzlers/UIViewControllerProxy.swift index e3c97c0..3db93f6 100644 --- a/KarteInAppMessaging/Swizzlers/UIViewControllerProxy.swift +++ b/KarteInAppMessaging/Swizzlers/UIViewControllerProxy.swift @@ -140,7 +140,10 @@ extension UIViewControllerProxy { ) originalFunction(receiver, viewDidAppearSelector, animated) - let window = receiver.view.window + guard let window = receiver.view?.window else { + Logger.warn(tag: .inAppMessaging, message: "The view is nil and the window not found") + return + } let process = InAppMessaging.shared.retrieveProcess(window: window) process?.viewDidAppearFromViewController(receiver) }