Skip to content
master
Switch branches/tags
Code

Latest commit

Checking only if the app is installed is not sufficient. Sometimes it can be disabled.
In such a case, Intent won't be fired successfully.

Steps to reproduce:
1. Diable Youtube app
2. Go to /r/videos and try opening any of the videos.

Expected: Video opens in YouTube

Actual: Error toast

This fix opens the URL as a regular URL if app is disabled
acad997

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dank

Here lies the greatest Reddit app that was never released

I started building Dank as a side project in January 2017. It was my playground for exploring Android. It was also an attempt to showcase a beautiful experience of what Android can offer to its users. There are many Reddit apps out there, but they’re all bland. There’s nothing inspirational about them.

You can read more about the features here: https://saket.me/dank. An APK of the last release can be found here.

I would love to continue working on Dank, but maintaining a side project is like having two jobs. I can’t do it anymore so I’m releasing the source and archiving the project. Please read this blog post for understanding my reasons behind this decision: http://saket.me/sunsetting-dank.

The source code is a gigantic mess of a hundred different ideas barely hanging onto each other. Do not go inside expecting to find inspiration for good code. It’s quite the opposite. If anything, Dank can be an inspiration for UI ideas. Somewhat along the lines of Nick Butcher’s Plaid.

I have so far been able to clean up some parts of Dank and release them separately:

  • Flick: library for dismissing images with flick gesture
  • InboxRecyclerView: building expandable descendant navigation, inspired by Google Inbox
  • FluidKeyboardResize: smoothly reacting to keyboard visibility changes in Android

I’d like to open source Dank’s WYSIWYG markdown editor, but I haven’t been able to find time for it yet. I will appreciate it if someone else can help me with it.

License

Copyright 2018 Saket Narayan.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.