mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(react-native-sdk): resolve Android build configuration issues
- Move namespace declaration to correct location in build.gradle - Remove deprecated package attribute from AndroidManifest.xml - Update README with gradle plugin version requirement - Fix Android namespace configuration for React Native SDK These changes resolve installation and build errors when integrating the Jitsi Meet React Native SDK into new projects. Fixes: SDK installation failures on Android with newer Gradle versions
This commit is contained in:
committed by
Calinteodor
parent
cb621f8e32
commit
64270f3015
@@ -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" />
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user