Open Hamza-Ali333 opened 2 years ago
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"
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.
"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