Open vikaszool opened 3 years ago
@vikaszool i am also having the same issue, any workaround yet?
I have been working with tokbox, and now its not working at all. I have tried everything possible. Has anyone find out the solution?
@Haroon6138 - No luck yet. Will post here if I am able to resolve it.
However, if this is a viable option for you, this is what I am doing for now. Android does support WebRTC and tokbox's web SDK works on Android. But it has to be configured to use the VP8 codec as far as I know.
We require tokbox. We are currently using it for 10 projects. We need a solution
Thank You @bleedingbulb Im trying. Will let you know if this works
@isyedahmedali did you get it to work?
still issue exsists.
i have the same problem, any success with any of you guys?
I have same problem. Any one solve the issue.
I pulled down a copy the plugin, stored locally within the project, removed the old plugin (cordova plugins remove cordova-plugin-opentok
), updated cordova-plugin-opentok/build-extras.gradle
to
allprojects {
repositories {
jcenter()
mavenCentral()
}
}
then added that plugin back to the project - cordova plugins add ./cordova-plugin-opentok
@jonshuttsnap40 did this work for you? Were you able to build the project successfully?
hi - we're building the project in bitrise, and i'm just testing it again right now, but this worked for us last week yes
@jonshuttsnap40 Its not working.
` Could not find com.opentok.android.v3:opentok-android-sdk-v3:3.0.3. Searched in the following locations:
@jonshuttsnap40 Did u test it? Were you able to make it work?
This is how I updated the "cordova-plugin-opentok/build-extras.gradle". I have changed opentok-android-sdk:2.15.3 to opentok-android-sdk:2.20.1.
allprojects { repositories { jcenter() mavenCentral() } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.opentok.android:opentok-android-sdk:2.20.1' }
Reference: https://tokbox.com/developer/sdks/android/
@vikaskonsam Can you please outline the steps you took to resolve this? it would be a huge help to me. Awaiting your kind response.
@Haroon6138 - I have highlighted the changes you need to do. You can then run the build command. In my case it is "ionic cordova build android" (using cordova and ionic v3)
This is a quick fix. It is modifying the file available in the platform/android folder. You should also do the same in the plugins/cordova-plugin-opentok/build-extras.gradle file just in case you need to remove the android platform and add it again.
Much appreciated, @vikaskonsam! I've applied the fix locally and it worked. The only difference is that I kept the SDK version at 2.19.0 and it worked just fine, but I that's probably a minor detail.
I guess the plugin needs to be updated with this fix or else it'll remain in a unusable state.
Getting build errors because Bintray has discontinued. Tried using https://search.maven.org/artifact/com.opentok.android/opentok-android-sdk but unable to resolve the problem.