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

Update SDK to v0.19.0 #302

Merged
merged 1 commit into from
Aug 5, 2021
Merged

Update SDK to v0.19.0 #302

merged 1 commit into from
Aug 5, 2021

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Jun 19, 2021

The update includes fixes to handle optional keys that will no longer be returned from Synapse once the fix for matrix-org/synapse#9941 is merged. For element-ios it sounds like it only broke notifications, but probably good to get this merged fairly quickly in case anything else gets upset.

CAVEATS: The SDK now includes a dependency on SwiftyBeaver which is the first Swift dependency for the framework. This has broken our binary package as the modulemap doesn't get included and I'm not even sure if (or how to check) the .a is included within the framework. So far the only workaround I've found is to add SwiftyBeaver as a Swift Package dependency on NioKit which sounds like a terrible idea to me but it worked 🤷‍♂️.

Warnings and/or other suggestions definitely welcome 😊

The SDK now includes a dependency on SwiftyBeaver that can't be found. Adding as a Swift Package seems to fix it but this seems like it should be no more than a temporary workaround. 😬
@pixlwave
Copy link
Member Author

Positives: Launching Nio seems to be wayyyy faster now! 🚀

@@ -81,6 +81,15 @@
"revision": "36ecf80429d00a4cd1e81fbfe4655b1d99ebd651",
"version": "0.1.2"
}
},
{
"package": "SwiftyBeaver",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SwiftyBeaver is a new dependency introduces by MatrixSDK?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. It’s the first swift framework dependency on the SDK, but I couldn’t figure out how to get the xcframework to include the module interface for it.

Copy link
Member

@kloenk kloenk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on my iPhone :-)

@kloenk kloenk merged commit 154e4b2 into stable Aug 5, 2021
@pixlwave pixlwave deleted the sdk-0.19 branch October 5, 2021 19:14
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

Successfully merging this pull request may close these issues.

2 participants