Couchbase-Ecosystem / cbl-ionic

Ionic Capacitor plugin for Couchbase Lite Enterprise >= (3.2)
https://cbl-ionic.dev/
Apache License 2.0
3 stars 1 forks source link

Adding Ionic with Android projects causes builds to fail #27

Open biozal opened 5 months ago

biozal commented 5 months ago

When adding cal-ionic to an Android project it seems the project build gradle file requires the maven resource for Couchbase to be added or it can't restore Couchbase Lite from mobile apps. Adding the maven location to:

allprojects {
    repositories {
        google()
        maven {url 'https://mobile.maven.couchbase.com/maven2/dev/'}
        mavenCentral()
    }
}

This resolves the issue, but the gradle file for cal-ionic already includes this, so not sure why it's happening.