A highly customizable interval timer app for Android
Link | Package Name |
---|---|
io.github.deweyreed.timer.google | |
Get it on Google Drive (AAB universial APK) |
io.github.deweyreed.timer.google |
io.github.deweyreed.timer.other | |
Get it on GitHub | io.github.deweyreed.timer.other |
The app uses the Navigation component.
- Modules whose names start with
app-
are different destinations of the navigation graph. - Each destination uses
ViewModel
in thepresentation
module. - Each
ViewModel
is injected withUseCase
in thedomain
module. - Each
UseCase
is injected with different repositories that are implemented in thedata
module. - Modules whose names start with
component-
are shared views and utility codes. - The
flavor-google
module includes some advanced features and IAP.
Use the dog
product flavor to develop and test.
The google
product flavor is the version in Google Play. It has some in-app purchases. It also
uses Firebase to store backup files and AppCenter to track crashes.
- Firebase: Create a Firebase project and add
google-services.json
to the project.- This optional Firebase Cloud Function removes old backup files when there are too many.
- AppCenter: Create an AppCenter project and put the app secret to your
local.properties
( Format:APP_CENTER_APP_SECRET=your-app-secret
).
Compared with the google
product flavor, the other
product flavor removes in-app purchases and
corresponding functions to release the app to other app stores.
If you have any questions or suggestions, feel free to open an issue.
There are some legacy codes that I wrote while learning Android development. I plan to fix them when they are broken or required by a new feature.
If you'd like to add translations, please join the project on Weblate.
TimeR Machine is under the GNU General Public License v3.0.
Some code and functions from AOSP's desklock are under the Apache License 2.0.