Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

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

Open
vikaszool opened this issue Jul 5, 2021 · 21 comments
Open

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

vikaszool opened this issue Jul 5, 2021 · 21 comments

Comments

@vikaszool
Copy link

vikaszool commented Jul 5, 2021

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.

  • What went wrong:
    Could not resolve all files for configuration ':app:releaseCompileClasspath'.

Could not resolve com.google.android.gms:play-services-stats:[15.0.1,16.0.0).
Required by:
project :app > com.google.android.gms:play-services-analytics:15.0.2
project :app > com.google.android.gms:play-services-analytics-impl:15.0.2
Failed to list versions for com.google.android.gms:play-services-stats.
> Unable to load Maven meta-data from http://tokbox.bintray.com/maven/com/google/android/gms/play-services-stats/maven-metadata.xml.
> Could not get resource 'http://tokbox.bintray.com/maven/com/google/android/gms/play-services-stats/maven-metadata.xml'.
> Could not GET 'http://tokbox.bintray.com/maven/com/google/android/gms/play-services-stats/maven-metadata.xml'. Received status code 403 from server: Forbidden

@Haroon6138
Copy link

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

@ghost
Copy link

ghost commented Jul 7, 2021

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
Copy link
Author

vikaszool commented Jul 7, 2021

@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
Copy link

ghost commented Jul 7, 2021

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

@ghost
Copy link

ghost commented Jul 7, 2021

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

@Haroon6138
Copy link

@isyedahmedali did you get it to work?

@asadumair
Copy link

still issue exsists.

@wwannous
Copy link

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

@waseem414
Copy link

I have same problem. Any one solve the issue.

@jonshuttsnap40
Copy link

jonshuttsnap40 commented Jul 12, 2021

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
Copy link

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

@jonshuttsnap40
Copy link

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
Copy link

waseem414 commented Jul 12, 2021

@jonshuttsnap40 Its not working.

Could not find com.opentok.android.v3:opentok-android-sdk-v3:3.0.3. Searched in the following locations: - https://repo.maven.apache.org/maven2/com/opentok/android/v3/opentok-android-sdk-v3/3.0.3/opentok-android-sdk-v3-3.0.3.pom - https://dl.google.com/dl/android/maven2/com/opentok/android/v3/opentok-android-sdk-v3/3.0.3/opentok-android-sdk-v3-3.0.3.pom - https://jcenter.bintray.com/com/opentok/android/v3/opentok-android-sdk-v3/3.0.3/opentok-android-sdk-v3-3.0.3.pom Required by: project :app > com.opentok.android:opentok-android-sdk:2.15.3

@Haroon6138
Copy link

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

@vikaskonsam
Copy link

vikaskonsam commented Jul 21, 2021

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
Copy link

@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
Copy link

@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
Copy link

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.

CaioMelo8 pushed a commit to CaioMelo8/cordova-plugin-opentok that referenced this issue Dec 9, 2021
CaioMelo8 pushed a commit to CaioMelo8/cordova-plugin-opentok that referenced this issue Dec 9, 2021
CaioMelo8 added a commit to CaioMelo8/cordova-plugin-opentok that referenced this issue Dec 10, 2021
CaioMelo8 added a commit to CaioMelo8/cordova-plugin-opentok that referenced this issue Dec 10, 2021
CaioMelo8 added a commit to CaioMelo8/cordova-plugin-opentok that referenced this issue Oct 6, 2023
CaioMelo8 added a commit to CaioMelo8/cordova-plugin-opentok that referenced this issue Oct 9, 2023
Fix opentok#205: Remove deprecated maven URL, use mavenCentral().
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants