Replace localytics key for astrid lite at build time

pull/14/head
Sam Bosley 12 years ago
parent 9e67133409
commit ba61949610

@ -247,6 +247,9 @@
<replaceregexp file="${source.dir}/com/todoroo/astrid/utility/Constants.java"
match="ASTRID_LITE = .*"
replace="ASTRID_LITE = true;" />
<replaceregexp file="${source.dir}/com/todoroo/astrid/utility/Constants.java"
match="LOCALYTICS_KEY = .*"
replace="LOCALYTICS_KEY = LOCALYTICS_KEY_LITE;" />
<replaceregexp file="AndroidManifest.xml"
match="package=&quot;.*&quot;"
replace="package=&quot;com.todoroo.astridlite&quot;" />

@ -15,6 +15,7 @@ public final class Constants {
/**
* LCL API Key
*/
public static final String LOCALYTICS_KEY_LITE = "f3a40b93823ac2024b062f2-d96a8860-4a2c-11e2-35ca-004b50a28849";
public static final String LOCALYTICS_KEY = "ae35a010c66a997ab129ab7-3e2adf46-8bb3-11e0-fe8b-007f58cb3154";
/**

Loading…
Cancel
Save