react-native-jitsi-meet icon indicating copy to clipboard operation
react-native-jitsi-meet copied to clipboard

Could not HEAD 'https://www.jitpack.io/org/jitsi/react/jitsi-meet-sdk/5.1.0/jitsi-meet-sdk-5.1.0.pom'. Received status code 401 from server: Unauthorized

Open Hamza-Ali333 opened this issue 2 years ago • 2 comments

"react": "18.1.0", "react-native": "0.70.5", "react-native-jitsi-meet": "^2.3.1" when i m trying to build "APK" this unauthorized error is occurring every time

Hamza-Ali333 avatar Nov 10 '22 08:11 Hamza-Ali333

Same here. Build failed with Could not HEAD 'https://www.jitpack.io/org/jitsi/react/jitsi-meet-sdk/5.1.0/jitsi-meet-sdk-5.1.0.pom'. Received status code 401 from server: Unauthorized

"react": "18.1.0", "react-native": "0.70.6", "react-native-jitsi-meet": "^2.3.1"

tomamatics avatar Dec 07 '22 18:12 tomamatics

tl;dr; add the github maven repo instead of jitpack (or both https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk/)

// android/build.gradle
allprojects {
    repositories {
        mavenLocal()
        google()
        jcenter()

        // ******* add this line *****
        maven {
            url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases'
        }
    }
}

// android/app/build.gradle
dependencies {
    implementation('org.jitsi.react:jitsi-meet-sdk:+') { transitive = true }
    //...
}

That stills break a dependency on my notifee version... which I can't manage to find why, but it might work for you.

estani avatar Dec 15 '22 10:12 estani