watermelon-db-plugin 🍉

Config plugin to auto configure @nozbe/watermelondb

Install

Tested against Expo SDK 47 and 48

yarn add @morrowdigital/watermelondb-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": ["@morrowdigital/watermelondb-expo-plugin",
      [
        "expo-build-properties",
        {
          "android": {
            "kotlinVersion": "1.6.10"
          }
        }
      ]
  ]
}