From f844af05b3d58522a14ae59c6cbab058b7aefa2f Mon Sep 17 00:00:00 2001 From: Galen Broderick Date: Fri, 7 Mar 2025 14:10:28 -0800 Subject: [PATCH 1/2] Update iterable ios sdk to 6.5.6; add new no-op onAuthFailure --- Iterable-React-Native-SDK.podspec | 2 +- ios/RNIterableAPI/ReactIterableAPI.swift | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Iterable-React-Native-SDK.podspec b/Iterable-React-Native-SDK.podspec index 14c6d596..ce501bf4 100644 --- a/Iterable-React-Native-SDK.podspec +++ b/Iterable-React-Native-SDK.podspec @@ -39,6 +39,6 @@ Pod::Spec.new do |s| end end - s.dependency "Iterable-iOS-SDK", "6.5.4" + s.dependency "Iterable-iOS-SDK", "6.5.6" end diff --git a/ios/RNIterableAPI/ReactIterableAPI.swift b/ios/RNIterableAPI/ReactIterableAPI.swift index 4db314f2..cf41fe5e 100644 --- a/ios/RNIterableAPI/ReactIterableAPI.swift +++ b/ios/RNIterableAPI/ReactIterableAPI.swift @@ -678,8 +678,13 @@ extension ReactIterableAPI: IterableAuthDelegate { body: nil) } } + + func onAuthFailure(_ authFailure: IterableSDK.AuthFailure) { + + } } - + + // Deprecated in iterable-swift-sdk 6.5.5: https://github.com/Iterable/iterable-swift-sdk/releases/tag/6.5.5 func onTokenRegistrationFailed(_ reason: String?) { } From 1b7df917da78b42f7ba7bceef8f8d9a86e2139ee Mon Sep 17 00:00:00 2001 From: Galen Broderick Date: Thu, 13 Mar 2025 10:50:16 -0700 Subject: [PATCH 2/2] fix: correct indent on iOS ReactIterableAPI --- ios/RNIterableAPI/ReactIterableAPI.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/RNIterableAPI/ReactIterableAPI.swift b/ios/RNIterableAPI/ReactIterableAPI.swift index cf41fe5e..08c4b9ba 100644 --- a/ios/RNIterableAPI/ReactIterableAPI.swift +++ b/ios/RNIterableAPI/ReactIterableAPI.swift @@ -678,10 +678,10 @@ extension ReactIterableAPI: IterableAuthDelegate { body: nil) } } + } - func onAuthFailure(_ authFailure: IterableSDK.AuthFailure) { + func onAuthFailure(_ authFailure: IterableSDK.AuthFailure) { - } } // Deprecated in iterable-swift-sdk 6.5.5: https://github.com/Iterable/iterable-swift-sdk/releases/tag/6.5.5