Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type 'ReactIterableAPI' does not conform to protocol 'IterableAuthDelegate' #799

Open
drewminns opened this issue Aug 8, 2024 · 2 comments

Comments

@drewminns
Copy link

We're using the React Native SDK and our latest builds are failing with the following error:

❌  (node_modules/@iterable/react-native-sdk/ios/RNIterableAPI/ReactIterableAPI.swift:651:1)

  649 | }
  650 | 
> 651 | extension ReactIterableAPI: IterableAuthDelegate {
      | ^ type 'ReactIterableAPI' does not conform to protocol 'IterableAuthDelegate'
  652 |     func onAuthTokenRequested(completion: @escaping AuthTokenRetrievalHandler) {
  653 |         ITBInfo()
  654 |         

Perhaps a regression from an earlier issue: #616

@Ayyanchira
Copy link
Member

Thanks for reporting @drewminns!
Would you share Iterable's RN SDK version used and which version was working for your app before?

@sterlingwes
Copy link

We're also hitting this, we've fixed by patching the podspec file in the RN SDK:

diff --git a/node_modules/@iterable/react-native-sdk/Iterable-React-Native-SDK.podspec b/node_modules/@iterable/react-native-sdk/Iterable-React-Native-SDK.podspec
index 7906f59..74506c7 100644
--- a/node_modules/@iterable/react-native-sdk/Iterable-React-Native-SDK.podspec
+++ b/node_modules/@iterable/react-native-sdk/Iterable-React-Native-SDK.podspec
@@ -24,6 +24,6 @@ Pod::Spec.new do |s|
 
   s.swift_version = '5.3'
 
-  s.dependency 'Iterable-iOS-SDK', '~> 6.5.3'
+  s.dependency 'Iterable-iOS-SDK', '6.5.4'
   s.dependency 'React-Core'
 end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants