Skip to content

Expo Config Plugin #79

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

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

Conversation

Raiden-16F7
Copy link

Add Expo Config Plugin for iOS Compilation with use_frameworks!

Description

This PR introduces an Expo Config Plugin to automate the required Podfile modifications when using react-native-quick-sqlite with use_frameworks! on iOS. This enhancement is based on the PowerSync documentation, ensuring seamless integration for Expo users.

Changes

  • Added a config plugin to handle iOS-specific setup automatically.
  • Updates Podfile during Expo prebuild to ensure compatibility with use_frameworks!.
  • Simplifies the setup for Expo projects using react-native-quick-sqlite.

Usage

To enable the plugin, add the following to your app.json or app.config.js:

For app.json

{
  "expo": {
    "plugins": [["@journeyapps/react-native-quick-sqlite"]]
  }
}

Copy link
Author

@Raiden-16F7 Raiden-16F7 left a comment

Choose a reason for hiding this comment

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

Refactored my previous implementation

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.

1 participant