Skip to content

Conversation

simolus3
Copy link
Contributor

@simolus3 simolus3 commented Mar 6, 2025

Our examples in demos/ are set up to compile our SDK as part of their build. That's useful for us to quickly test local changes in example apps, but not too helpful for users who need to fix these dependencies when copying from our examples.

This changes the builds of the android-supabase-todolist and supabase-todolist apps to optionally use released packages instead of the local ones. This behavior is enabled by setting USE_RELEASED_POWERSYNC_VERSIONS=true in local.properties in the respective demo.
I've also had to add an version selector to the dependencies - latest.release seems to work. There's a comment instructing users to pick an actual stable dependency.

@simolus3 simolus3 requested a review from stevensJourney March 6, 2025 11:28
Copy link
Contributor

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

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

Happy with these changes

@simolus3 simolus3 merged commit 78e49d7 into main Mar 6, 2025
3 checks passed
@simolus3 simolus3 deleted the fix-examples-with-release-deps branch March 6, 2025 12:53
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