opentok / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
MIT License
30 stars 80 forks source link

http://tokbox.bintray.com/maven has discontinued #205

Open vikaszool opened 3 years ago

vikaszool commented 3 years ago

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.

Haroon6138 commented 3 years ago

@vikaszool i am also having the same issue, any workaround yet?

ghost commented 3 years ago

I have been working with tokbox, and now its not working at all. I have tried everything possible. Has anyone find out the solution?

vikaszool commented 3 years ago

@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.

ghost commented 3 years ago

We require tokbox. We are currently using it for 10 projects. We need a solution

ghost commented 3 years ago

Thank You @bleedingbulb Im trying. Will let you know if this works

Haroon6138 commented 3 years ago

@isyedahmedali did you get it to work?

asadumair commented 3 years ago

still issue exsists.

wwannous commented 3 years ago

i have the same problem, any success with any of you guys?

waseem414 commented 3 years ago

I have same problem. Any one solve the issue.

jonshuttsnap40 commented 3 years ago

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

Haroon6138 commented 3 years ago

@jonshuttsnap40 did this work for you? Were you able to build the project successfully?

jonshuttsnap40 commented 3 years ago

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

waseem414 commented 3 years ago

@jonshuttsnap40 Its not working.

` Could not find com.opentok.android.v3:opentok-android-sdk-v3:3.0.3. Searched in the following locations:

Haroon6138 commented 3 years ago

@jonshuttsnap40 Did u test it? Were you able to make it work?

vikaskonsam commented 3 years ago

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/

Haroon6138 commented 3 years ago

@vikaskonsam Can you please outline the steps you took to resolve this? it would be a huge help to me. Awaiting your kind response.

vikaskonsam commented 3 years ago

@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.

Screenshot 2021-07-27 at 9 02 22 PM
CaioMelo8 commented 2 years ago

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.