Skip to content

Conversation

@callum-gander
Copy link
Contributor

@callum-gander callum-gander commented Dec 18, 2025

What does this PR do?

Creates a package generator, similar to the existing Node one, that creates an Expo plugin that automates the moving of the binaries to the correct location for an Expo app

Why merge it?

I've building my project using your sync extension and the installation instructions clearly seemed geared towards building native Swift and Android apps over React Native/Expo. I did see this https://github.com/sqliteai/sqlite-extensions-guide?tab=readme-ov-file and obviously your todo example within the repo, but it seemed pretty simple to just generate the expo package in a similar way to how the node one is done, so thought I'd raise a PR to add it, rather than just using my own internal Expo package

How to test

To test locally:

# Quick test with release binaries
cd packages/expo
mkdir -p ../../artifacts/cloudsync-{apple-xcframework,android-arm64-v8a,android-armeabi-v7a,android-x86_64}
# Download binaries from latest release into artifacts/
node generate-expo-package.js 0.8.57 ../../artifacts ./expo-package

Next steps

Would be great to get a review on this and see if I'm missing anything. Someone on your end would need to setup the next package in npm under your account, presuming you don't want the name changed.

Cheers!

@Gioee Gioee merged commit b55472a into sqliteai:main Dec 23, 2025
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