Comments (9)
Thank you for reporting @harish-suthar and for the suggestions @mtzaquia . We will have this updated.
from swift-sdk.
![Screenshot 2024-06-26 at 5 21 47 PM](https://private-user-images.githubusercontent.com/91060750/343145334-4ac183a6-38fa-4b93-a5a4-197c6d18a6df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNTIzMTAsIm5iZiI6MTcyNDE1MjAxMCwicGF0aCI6Ii85MTA2MDc1MC8zNDMxNDUzMzQtNGFjMTgzYTYtMzhmYS00YjkzLWE1YTQtMTk3YzZkMThhNmRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDExMDY1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5ZGQ2MDQ3Y2NhNTMyZTM1NjAxNzhmYjdiM2U3YjM2MTI5MGVmNTE1M2ZmNWJhYmU0MDgwYWExNDBhYjQ2NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kF1Uuf7pTegGgMwEZpPf_BNQBR1Z2a3iMTVYpYiP2LQ)
Adding the blank method implementation using protocol extension solved the issue temporary, but this is doable only if I use cocoapods with SPM we can't update the source code so.
from swift-sdk.
As @harish-suthar mentioned, if modifying the files is an option (I do not see this updated on 6.5.3, which is the latest release available), simply adding @MainActor
to the function should suffice:
protocol WebViewProtocol {
var view: UIView { get }
var position: ViewPosition { get }
@discardableResult func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?
func set(position: ViewPosition)
func set(navigationDelegate: WKNavigationDelegate?)
func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor (Any?, Error?) -> Void)?) // <- HERE
func layoutSubviews()
func calculateHeight() -> Future<CGFloat, IterableError>
}
This lets you move forward without extensions.
Curiously enough, I get this error even if using @preconcurrency import IterableSDK
, so I am unsure if there's another way to suppress it without SDK code changes.
from swift-sdk.
Just to highlight the importance of this issue, since we can't use previous versions of Xcode on Sequoia, any developers updating to the beta will no longer be able to build their apps unless forking.
from swift-sdk.
Any update here? I'm currently blocked.
from swift-sdk.
We are blocked as well and would appreciate an update! Hopefully it is straightforward enough and could warrant a patch release. Thanks.
from swift-sdk.
Currently blocked, please advise. Reporting up to our rep.
from swift-sdk.
I am also blocked on this and reported it to Iterable.
from swift-sdk.
Hey all, quick note that the Iterable team is looking into this. We will update asap; appreciate everyone's feedback on the issue-- let us know if any relevant changes or details come up
from swift-sdk.
Related Issues (20)
- If initial JWT token request fails, SDK doesn't ever request a new one HOT 2
- In-app messages black background does not expand to full height of phone screen HOT 1
- 6.4.12 contains semver-breaking API change HOT 2
- Type 'ReactIterableAPI' does not conform to protocol 'IterableAuthDelegate' HOT 1
- If the in-app message's position not being set to "full", the in-app will auto disappear with animation and app freezes on some devices HOT 2
- SPM Integration HOT 1
- Crash in RequestHandler.swift with InternalIterableAPI Initialization HOT 11
- InAppDisplayer: We need a way to set the `topViewController`
- [Bug]: crash on NWPathMonitor HOT 1
- After updating Iterable to 6.4.17 Circle CI pipeline is failing - ❌ error: Build input file cannot be found: '/Users/distiller/project/Pods/Iterable-iOS-SDK/swift-sdk/Internal/DependencyContainerProtocol.swift'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'Iterable-iOS-SDK' from project 'Pods')
- Add Privacy Manifest HOT 6
- Image as Attachment in Push Notification payload doesn't get displayed
- Rename the package sdk something different than `swift-sdk` HOT 4
- Add OnSuccessHandler and OnFailureHandler to logoutUser() function HOT 1
- Swift access race in IterableSDK.Pending.onSuccess
- Making a `getMessages` once per day
- Thread Performance Checker failure
- CodeQL - String length conflation
- type 'ReactIterableAPI' does not conform to protocol 'IterableAuthDelegate' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-sdk.