Closed t-knapp closed 10 years ago
Yes you can do that sort of thing using gradle. I think you can however do this without touching the build at all if you're using
String versionName =
context.getPackageManager().
getPackageInfo(context.getPackageName(), 0).versionName;
Bull's eye!
Tested, pushed and ready for review.
We can also think about using google analytics within the app. About to review the changes now.
Done.
Setting custom useragent like "BINhungrig/android/2014-04-01" to improve usage analytics at server side.
@git-commit Possible with gradle to search and replace a string before compile?