Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adityam49/Updoot
A reddit client built for android
https://github.com/adityam49/Updoot
android hilt jetpack-compose kotlin kotlin-coroutines mvvm oauth reddit room-persistence-library
Last synced: 3 months ago
JSON representation
A reddit client built for android
- Host: GitHub
- URL: https://github.com/adityam49/Updoot
- Owner: adityam49
- License: gpl-3.0
- Created: 2019-05-12T18:22:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T17:12:43.000Z (over 1 year ago)
- Last Synced: 2024-05-20T09:32:18.101Z (6 months ago)
- Topics: android, hilt, jetpack-compose, kotlin, kotlin-coroutines, mvvm, oauth, reddit, room-persistence-library
- Language: Kotlin
- Homepage:
- Size: 3.41 MB
- Stars: 70
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-compose - Updoot - A reddit client built for android (Miscellaneous)
- alternative-front-ends - Updoot - end for Reddit (Overview / Reddit)
- awesome-android-kotlin-apps - Updoot
README
# Development
To build this app you need to have a Reddit account.
Once you have that, head over to [this](https://www.reddit.com/prefs/apps) page to get a client id for the app.
Make a new installed type app with appropriate information.Now on your development machine goto
- Windows: `C:\Users\\.gradle`
- Mac: `/Users//.gradle`
- Linux: `/home//.gradle`
and then add the following 2 lines to gradle.properties file (create one if it doesn’t exist).`UPDOOT_CLIENT_ID = "xxxxxxxxxxxxxx"`
`UPDOOT_REDIRECT_URI = "https://redirecturl.com"`where `xxxxxxxxxxxxxx` is the client id that you got after creating a new installed type app
and `https://redirecturl.com` is the redirect url spicified while creating the installed type app.For further information on Reddit’s oauth usage use [this guide](https://github.com/reddit-archive/reddit/wiki/oauth2).