vmadalin / easypermissions-ktx

🔓 Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.
https://firebaseopensource.com/projects/googlesamples/easypermissions/
Apache License 2.0
380 stars 38 forks source link

release version 0.1.0 is different from the source code #3

Closed NIUDEYANG123 closed 3 years ago

NIUDEYANG123 commented 3 years ago

Basic Information

Device type: ____ OS version: ____ EasyPermissions version: ____

Describe the problem

What happened? What did you expect to happen?

Code and logs

// TODO(you): show the code that produces the problem,
//            and any relevant logs.
 @JvmStatic
    fun somePermissionPermanentlyDenied(
        host: Activity,
        @Size(min = 1) vararg deniedPerms: String
    ): Boolean {
        return PermissionsHelper.newInstance(host).somePermissionPermanentlyDenied(deniedPerms)
    }
vmadalin commented 3 years ago

Hi @NIUDEYANG123 , thank you for the issue. Seems there was an issue with bintray regarding the version. Now this not longer apply since I moved the project to Maven Central on the following PR: https://github.com/VMadalin/easypermissions-ktx/pull/5. In order to have the latest changes use the following:

    implementation 'com.vmadalin:easypermissions-ktx:1.0.0'