Skip to content

Instantly share code, notes, and snippets.

@ralphpina
Last active March 15, 2019 20:24
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 ralphpina/15a042c34f4a0d1e9ca46f22fd5b4763 to your computer and use it in GitHub Desktop.
Save ralphpina/15a042c34f4a0d1e9ca46f22fd5b4763 to your computer and use it in GitHub Desktop.
@Module
class AppModule {
@AppScope
@Provides
fun providePermissionsManager(context: Context): PermissionsManager =
PermissionsComponent.Initializer()
.context(context)
.prepare()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment