Experiment: Unify PowerSync.Maui and PowerSync.Common - #87
Draft
LucDeCaf wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR shows off a potential path for unifying
PowerSync.CommonandPowerSync.Mauiinto the same package.While working on the Uno Platform demo integration, I started wondering why we needed a separate package for MAUI/mobile at all. I decided to ask Claude Code if it could create a POC of what it would look like to remove PowerSync.Maui entirely and to fold everything into Common. The result is this PR.
If we go down this route (either in this PR or in a future one), we would likely make one last release of
PowerSync.Mauimarking it as deprecated and turning it into a package reference forPowerSync.Common.Features
powersync-sqlite-core.xcframeworkhas been massively stripped down (~135 MB => 3.8 MB uncompressed); this change will probably escape from this PR.runtimes.Blockers
PowerSync.Maui.AI Disclaimer
The code in this PR is 100% AI generated and is not intended to be merged.
While I directed and corrected the LLM into producing an output I like, I have only taken a cursory look at the code itself and have not performed thorough review. This is intended as an experiment to see what a unified package would look like and to analyse what problems it could potentially cause.