Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(react-native-sdk): resolve Android build configuration issues

Oğuzhan Selim Temiz64270f301560
diff --git a/react-native-sdk/README.md b/react-native-sdk/README.md
index 78071c4140..cdeabb3b0f 100644
--- a/react-native-sdk/README.md
+++ b/react-native-sdk/README.md
@@ -70,6 +70,7 @@ cd ios && pod install && cd ..
## Android
- In your build.gradle have at least `minSdkVersion = 26`
+- In your build.gradle have `gradlePluginVersion = "8.4.2"` or higher
- In `android/app/src/debug/AndroidManifest.xml` and `android/app/src/main/AndroidManifest.xml`, under the `</application>` tag, include
```xml
<uses-permission android:name="android.permission.RECORD_AUDIO" />
diff --git a/react-native-sdk/android/build.gradle b/react-native-sdk/android/build.gradle
index fadd01b5be..6638f7d31b 100644
--- a/react-native-sdk/android/build.gradle
+++ b/react-native-sdk/android/build.gradle
@@ -7,7 +7,6 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$rootProject.ext.gradlePluginVersion"
}
- namespace 'org.jitsi.meet.reactnativesdk'
}
def isNewArchitectureEnabled() {
@@ -29,6 +28,7 @@ def getExtOrIntegerDefault(name) {
}
android {
+ namespace 'org.jitsi.meet.sdk'
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
defaultConfig {
diff --git a/react-native-sdk/android/src/main/AndroidManifest.xml b/react-native-sdk/android/src/main/AndroidManifest.xml
index 97bd4b0b88..0a0938ae37 100644
--- a/react-native-sdk/android/src/main/AndroidManifest.xml
+++ b/react-native-sdk/android/src/main/AndroidManifest.xml
@@ -1,4 +1,3 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.jitsi.meet.sdk">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>