whirm / tgs-android

TheGlobalSquare android app
http://www.theglobalsquare.org
9 stars 9 forks source link

Google Analytics #10

Open alterechtschreibung opened 11 years ago

alterechtschreibung commented 11 years ago

How to build it without Google Analytics? Otherwise app can't be added to open source Markets like F-Droid, because it is proprietary closed source software.

https://f-droid.org/forums/topic/swift4android/

rauljim commented 11 years ago

As far as I know, Google Analytics is not a critical dependency. The only functionality that comes to mind is receiving parameters from Google Play. See https://github.com/rauljim/tgs-android/commit/c10116f7749c1cc4762f083374334f6b4baeb6d6

You can fork my repo https://github.com/rauljim/tgs-android and create a no-analytlics branch from master. Then, remove the Analytics library. There should be little to be changed in the code.

Let me know if you have doubts or problems.

alterechtschreibung commented 11 years ago

I can't remove it, thus fork would make no sense. Furthermore I would have to include all your changes by hand. Can you make a build parameter to compile without inclusion of proprietary stuff like GA?

rauljim commented 11 years ago

I can't remove it, thus fork would make no sense.

I don't understand. If you fork my repo you can remove whatever you want in your forked repo.

Furthermore I would have to include all your changes by hand.

Yes, we would maintain two branches, merging from time to time.

Can you make a build parameter to compile without inclusion of proprietary stuff like GA?

I'll come back to this early next week. If you try something this week, let me know.

dalb8 commented 11 years ago

There are other jars in there that don't have any references. script.jar? etc.