Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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).