Last active
March 15, 2019 20:24
-
-
Save ralphpina/15a042c34f4a0d1e9ca46f22fd5b4763 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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