Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 929 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 929 Bytes

watermelon-db-plugin 🍉

Config plugin to auto configure @nozbe/watermelondb

Install

Tested against Expo SDK 47

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"
          }
        }
      ]
  ]
}