couchbaselabs / Couchbase-Lite-PhoneGap-Plugin

Plugin to install Couchbase Lite in your PhoneGap app on iOS or Android
183 stars 67 forks source link

Don't embed the frameworks in the git repo #39

Open snej opened 9 years ago

snej commented 9 years ago

We shouldn't be embedding the frameworks inside the repo (in the lib directory.) It's inefficient to store big binary blobs in Git, and it hardcodes a specific version dependency, requiring us to update this repo every time we release a new version. (Or actually we haven't been, so developers complain that this repo is out of date.)

Instead there should either be a script to download the latest version of CBL, or the build instructions should require it to be copied into place (as with our demo apps.)

stenit commented 9 years ago

The following libs should also be excluded from beeing copied into the platforms/android/libs folder:

Expecially the "source"-JAR is about ~10MB, which increases the APK size a lot.

symbiat commented 9 years ago

@snej I agree, we should at least have the option to rebuild the libs for iOS from source if we need to.