2.1.0 • Published 1 year ago

@rafaellupo/watermelondb-firebase-expo-plugin v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

watermelon-db-plugin 🍉

Config plugin to auto configure @nozbe/watermelondb This is a fork from @morrowdigital/watermelondb-expo-plugin with a Podfile extra code that allows you to use watermelondb with Firebase. (Fixes useFrameworks bugs when building)

This is not meant to be mantained or updated. Please check original author repo for updates

Install

Tested against Expo SDK 47 and 48

yarn add @rafaellupo/watermelondb-firebase-expo-plugin

Please make sure you also install expo-build-properties

After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js. Then rebuild your app as described in the "Adding custom native code" guide.

Example

In your app.json plugins array:

{
  "plugins": [
    "@rafaellupo/watermelondb-firebase-expo-plugin",
    [
      "expo-build-properties",
      {
        "android": {
          "kotlinVersion": "1.6.10"
        }
      }
    ]
  ]
}