Open kkday-kevinhorasia opened 3 months ago
I solve the problem by changing implementation 'androidx.core:core-ktx:+'
in twilio_voice/android/build.gradle
file as below:
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom:$kotlin_version"))
implementation(platform("com.google.firebase:firebase-bom:32.2.2"))
implementation("com.twilio:voice-android:6.3.2")
implementation("com.google.firebase:firebase-messaging-ktx:23.2.1")
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.lifecycle:lifecycle-process:2.6.1'
implementation 'androidx.core:core-ktx:1.13.1'
runtimeOnly("androidx.lifecycle:lifecycle-extensions:2.2.0")
runtimeOnly("androidx.constraintlayout:constraintlayout:2.1.4")
}
But, I am afraid this approach may affect some functionality in this package
Another solution is to add this in your flutter project android/app/build.gradle
file:
configurations.all {
resolutionStrategy { force 'androidx.core:core-ktx:1.13.1' }
}
@kkday-kevinhorasia project is running, but the first run crashed and happened exception when requesting permission from Twilio
Hi @yazanturk,
About requesting permission from Twilio, in my case it only work for the first time we installed and open the app. When we close app, clear app, open it again and request the same permission again it will not request it again.
I don't know why this happened, maybe you can open a new issue regarding this problem. And if you find the solution to the problem please let me know too :)
Thank you for reporting the issue, I'll investigate this issue later the week.
@cybex-dev Thanks
Hi @yazanturk,
About requesting permission from Twilio, in my case it only work for the first time we installed and open the app. When we close app, clear app, open it again and request the same permission again it will not request it again.
I don't know why this happened, maybe you can open a new issue regarding this problem. And if you find the solution to the problem please let me know too :)
the problem is solved check the package please ?
Hi @yazanturk, About requesting permission from Twilio, in my case it only work for the first time we installed and open the app. When we close app, clear app, open it again and request the same permission again it will not request it again. I don't know why this happened, maybe you can open a new issue regarding this problem. And if you find the solution to the problem please let me know too :)
the problem is solved check the package please ?
I think it is not a problem according to this docs. It is actually android permissions default behavior (One-time permissions).
Issue Summary
Steps to Reproduce
This error occur only after adding this
twilio_voice
package to my dependency, if I remove it then I can run the project normally. I think this happen because of this Breaking Changes.Hopefully you can update this package and solve this problem. Thank you