Config plugin to auto configure @nozbe/watermelondb
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.
In your app.json plugins
array:
{
"plugins": ["@morrowdigital/watermelondb-expo-plugin",
[
"expo-build-properties",
{
"android": {
"kotlinVersion": "1.6.10"
}
}
]
]
}