[GH-ISSUE #128] Make Google Analytics an opt-out option at build time #102

Closed
opened 2026-02-28 01:23:11 +03:00 by kerem · 4 comments
Owner

Originally created by @mvdan on GitHub (Oct 3, 2013).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/128

It would be nice to have Google Analytics be optional at build time with gradle, using something like a noAnalytics flavour. Without it, we cannot build nor update your app on F-Droid, since it now requires non-free software (after #116).

I can provide a build.gradle patch if you want me to.

Regards.

Originally created by @mvdan on GitHub (Oct 3, 2013). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/128 It would be nice to have Google Analytics be optional at build time with gradle, using something like a noAnalytics flavour. Without it, we cannot build nor update your app on F-Droid, since it now requires non-free software (after #116). I can provide a build.gradle patch if you want me to. Regards.
kerem closed this issue 2026-02-28 01:23:11 +03:00
Author
Owner

@eyedol commented on GitHub (Oct 3, 2013):

@mvdan send the patch over

<!-- gh-comment-id:25661499 --> @eyedol commented on GitHub (Oct 3, 2013): @mvdan send the patch over
Author
Owner

@mvdan commented on GitHub (Oct 8, 2013):

@eyedol I thought it would be as simple as undoing some of your commits to the java files, but it isn't. Though here is a good example by @ligi:

https://github.com/ligi/gobandroid/tree/master/android/src/noAnalytics/java/org/ligi/gobandroid_hd/ui

He set up build.gradle with flavours and groups as follows:

https://github.com/ligi/gobandroid/blob/master/android/build.gradle

<!-- gh-comment-id:25881043 --> @mvdan commented on GitHub (Oct 8, 2013): @eyedol I thought it would be as simple as undoing some of your commits to the java files, but it isn't. Though here is a good example by @ligi: https://github.com/ligi/gobandroid/tree/master/android/src/noAnalytics/java/org/ligi/gobandroid_hd/ui He set up build.gradle with flavours and groups as follows: https://github.com/ligi/gobandroid/blob/master/android/build.gradle
Author
Owner

@eyedol commented on GitHub (Oct 9, 2013):

@mvdan thanks for the links. I'll look into this over the weekend. Keep you posted.

<!-- gh-comment-id:25985001 --> @eyedol commented on GitHub (Oct 9, 2013): @mvdan thanks for the links. I'll look into this over the weekend. Keep you posted.
Author
Owner

@eyedol commented on GitHub (Nov 11, 2013):

@mvdan long overdue but it's here. See 9b89290a10 Want to give it a try?

<!-- gh-comment-id:28209537 --> @eyedol commented on GitHub (Nov 11, 2013): @mvdan long overdue but it's here. See 9b89290a10a3174dbfea73e04ce497b6f8ab4479 Want to give it a try?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#102
No description provided.