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

feat: add barebones opsqlite demo #503

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

DominicGBauer
Copy link
Contributor

@DominicGBauer DominicGBauer commented Feb 19, 2025

Description

Create a bare-bones react-native demo application that uses OP-SQLite for interacting with the SQLite db.

Testing

Ios Screenshot:
image

Android Screenshot:
image

Copy link

changeset-bot bot commented Feb 19, 2025

⚠️ No Changeset found

Latest commit: 05196e2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@DominicGBauer DominicGBauer self-assigned this Feb 27, 2025
@DominicGBauer DominicGBauer marked this pull request as ready for review February 27, 2025 07:34
@DominicGBauer DominicGBauer changed the title WIP feat: add barebones opsqlite demo feat: add barebones opsqlite demo Feb 27, 2025
config.resolver.unstable_enablePackageExports = true;

config.resolver.resolveRequest = (context, moduleName, platform) => {
if (platform === 'web') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This demo doesn't seem to run on web? We should probably not clutter the barebones example with web setup if it's not being used.

@stevensJourney
Copy link
Collaborator

Is there some requirement to commit the ios and android folders for this demo? Usually we don't require manual changes to those folders anymore. Some work has been done on other demos to remove some of the native project folders.

@DominicGBauer
Copy link
Contributor Author

Given this is bare bones and there isn't a framework I don't see how we would be able to do that? It's my understanding that using expo is what allows us to avoid adding those folders.

@stevensJourney
Copy link
Collaborator

Given this is bare bones and there isn't a framework I don't see how we would be able to do that? It's my understanding that using expo is what allows us to avoid adding those folders.

Okay that makes sense. I didn't realize the bare React Native library had that behaviour.

stevensJourney
stevensJourney previously approved these changes Feb 27, 2025
Chriztiaan
Chriztiaan previously approved these changes Feb 27, 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.

3 participants