I have an android app that using kotlin 1.3. Now I am integrating permissions into it. for that, I am adding the following dependencies.
implementation "androidx.activity:activity-ktx:1.2.2"
implementation "androidx.fragment:fragment-ktx:1.3.2"
But when I add these dependencies I am getting the following error in various files of the app like below.
'let((T) -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
If I remove this dependency all errors will disappear but I can't handle runtime permissions.
Can anyone please help me in resolving this issue.
Thanks in advance.