This is the source code for the Eric Mill's Congress app for Android phones. (This app was previously funded and developed for years by the Sunlight Foundation.)
Find the most up-to-date version in the Google Play Store: https://play.google.com/store/apps/details?id=com.sunlightlabs.android.congress
We ship the app using the code found in this repository, with some miscellaneous unversioned API keys and build information placed in app/src/main/res/values/keys.xml
.
We use Github Issues for issue tracking.
When setting this up:
keys.xml.example
to app/src/main/res/values/keys.xml
and:
propublica_api_key
with your Pro Publica API key,propublica_api_endpoint
with the base Pro Publica API endpoint you wish to use. By default, this is https://api.propublica.org/congress/v1/
.tracker.xml.example
to app/src/main/res/xml/tracker.xml
If you're using Google Analytics, fill in app/src/main/res/xml/tracker.xml
's ga_trackingId
field with your Google Analytics profile tracking ID. (Make sure you've set up a profile in Google Analytics first.)
If you're not using Google Analytics, then turn off analytics by setting app/src/main/res/values/keys.xml
's debug_disable_analytics
field to true
.
We use a mixed GPLv3 and BSD license for our code in this repository. Generally speaking, the code specific to our Android app is GPLv3, and the code you could reuse in any Java or Android app is BSD.
The repository also contains some miscellaneous .jar
files in /libs
, who have separate individual licenses.
See LICENSE for complete details.
Final dev check:
Code changes:
git tag -a -m "Tagging vX.X.X" vX.X.X
git push --tags
Then, release work: