A forked version dependency from jitpack is working:
maven {
url 'https://jitpack.io'
}
and replace the dependency:
implementation 'com.nabinbhandari.android:permissions:3.8'
with
implementation 'com.github.Redman1037:Android-Permissions:3.8'