Skip to content
Branch: master
Clone or download
SubhrajyotiSen and saket fix: check if package name is enabled
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
Latest commit acad997 Apr 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fix: check if package name is enabled Apr 16, 2019
gradle/wrapper Bump grade wrapper to v4.6 Mar 28, 2018
libs Add ThreeTen sources jar to libs package Sep 24, 2017
markdownhints Fix build file warnings Jan 15, 2019
.gitignore
LICENSE.md Add Apache 2.0 license Dec 16, 2018
README.md Add Apache 2.0 license Dec 16, 2018
build.gradle Bump Kotlin to v1.3.11 and Gradle plugin to v3.2.1 Jan 12, 2019
gradle.properties Enable gradle build caching Aug 24, 2017
gradlew Make basic auth work Jan 29, 2017
gradlew.bat Make basic auth work Jan 29, 2017
jrebel.properties Add support for Markdown (first draft) Mar 8, 2017
settings.gradle

README.md

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.
You can’t perform that action at this time.