Skip to content

feat: add watchOS support (tentative) - #73

Merged
simolus3 merged 11 commits into
powersync-ja:mainfrom
zifeo:main
Jun 13, 2025
Merged

simolus3 merged 11 commits into
powersync-ja:mainfrom
zifeo:main

Conversation

@zifeo

@zifeo zifeo commented May 11, 2025 •

Copy link
Copy Markdown
Contributor

Notes from Simon: I've ensured that all our tests for the Kotlin and Swift SDKs pass when they're built against this framework on watchOS simulators. I don't have an actual watchOS device to test this on, but since the link mode is the same on those platforms I think it should work. My stance is that this is good enough to merge, but we'll have to do more testing on actual devices before even announcing this as experimental.

To test this, see:


Not a watchOS expert, so carefully review and guidance required.

@simolus3 simolus3 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for getting started on this!

I've started looking into support for this for our Kotlin SDK here: https://github.com/powersync-ja/powersync-kotlin/tree/watchOS

Comment thread crates/shell/build.rs Resolved
Comment thread tool/build_xcframework.sh Resolved
Comment thread tool/build_xcframework.sh Resolved
Comment thread tool/build_xcframework.sh Resolved

@simolus3 simolus3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've tested this against the Kotlin and Swift SDKs, so this looks good to me.

Comment thread crates/static/Cargo.toml Resolved
Comment thread Package.swift Resolved
@simolus3
simolus3 requested a review from rkistner June 13, 2025 10:38

@rkistner rkistner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@simolus3 I'm happy with the changes, but there are still some build failures

@simolus3

Copy link
Copy Markdown
Contributor

Thanks, should be fixed now 👍

@simolus3
simolus3 requested a review from rkistner June 13, 2025 13:30
@simolus3
simolus3 merged commit b07e3e1 into powersync-ja:main Jun 13, 2025
@zifeo

zifeo commented Jun 15, 2025

Copy link
Copy Markdown
Contributor Author

Thanks for pushing this further, I lack time to take care of it in the past days!

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.

3 participants