# License and conditional compilcation

**URL:** <https://discuss.zetetic.net/t/license-and-conditional-compilcation/1846>\
**Category:** SQLCipher\
**Created:** [December 6, 2016, 5:27pm UTC](https://discuss.zetetic.net/t/license-and-conditional-compilcation/1846 "2016-12-06T17:27:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darakimaia](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/darakimaia/32/467_2.png) [@darakimaia](https://discuss.zetetic.net/u/darakimaia)\
**Post date:** [December 6, 2016, 5:27pm UTC](https://discuss.zetetic.net/t/license-and-conditional-compilcation/1846/1 "2016-12-06T17:27:08Z")

</div>

We are working on a Xamarin project for a client and there are 2 flavours to the app - a secured app and a regular app.  
Both flavors are using the same code base.  
The regular flavor will use `SQLite.Net.Platform.XamarinAndroid.SQLitePlatformAndroid`.  
The secured flavor will use `SQLite.Net.Platform.SQLCipher.XamarinAndroid`.  
The project will have both SQLCipher component and the full SQLite.Net-PCL package installed.  
My question - will we require a license to build the regular flavor? It does not use SQLCipher but it does bundle it.

---

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [December 6, 2016, 6:40pm UTC](https://discuss.zetetic.net/t/license-and-conditional-compilcation/1846/2 "2016-12-06T18:40:18Z")

</div>

Hello @darakimaia Yes, if you are including SQLCipher for Xamarin.Android in an application package you must license it.
