Skip to content

Instantly share code, notes, and snippets.

@hotchemi
Last active December 13, 2015 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotchemi/8454e7b57c1f2ac429a5 to your computer and use it in GitHub Desktop.
Save hotchemi/8454e7b57c1f2ac429a5 to your computer and use it in GitHub Desktop.
Call for paper and keynote file of Droidcon Krakow 2015.

Managing Runtime Permissions

In the last GoogleIO 2015, google released the new feature of Marshmallow which is called "Runtime Permissions".

It drastically changed the way to handle permissions from the previous mechanism.

The change is basically great for users but also the hell for developers.

Because developers have to write a ton of boilerplate codes and the new mechanism and api may not be easy for developers.

For example

  • shouldShowRationale is a really confusing method
  • There is a lot of class which have methods about permissions, PermissionChecker, ContextCompat, ActivityCompat, FragmentCompat, etc...

So in this session, I'm gonna talk about what actually the change is and how to manage permissions well.

And I'm also gonna introduce the usage of my library "PermissionsDispatcher", which solves the problem that writing a ton of boilerplate codes.

https://github.com/hotchemi/PermissionsDispatcher

This file has been truncated, but you can view the full file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment