mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
Dames en heren, welcome to Jitsi Meet SDK for Android, the Jitsi Meet library for Android. The Jitsi Meet SDK encapsulates React Native and all the dependencies Jitsi Meet has so other aopplications can integrate it easily. Unlike iOS, creating "fat" libraries is not allways (if at all) possible on Android, however, effort was put into making the integration as easy as possible. While React Native can be embedded in native applications, I don't think it was designed to be embedded as part of an Android library, hidden away from the application using it. This surfaced as a number of issues which had to be addressed specifically due to our use-case: - Activity lifecycle methods must be linked with the React Native engine, so the library provides wrapper methods. - Custom fonts have to be manually added as assets, since the provided gradle script doesn't work properly in a library target. - The RN packager has to be manually triggered since the gradle script will no longer do it for us. At this stage, the Jitsi Meet application is just a small single activity application which uses the Jitsi Meet SDK to create a single activity which represents the entire application. Events and external conference handling are forthcoming. PS: Yours truly would like to add that it was a lot more fun to work on the iOS side of things.
14 lines
905 B
Groovy
14 lines
905 B
Groovy
rootProject.name = 'jitsi-meet'
|
|
|
|
include ':app', ':sdk'
|
|
include ':react-native-background-timer'
|
|
project(':react-native-background-timer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-timer/android')
|
|
include ':react-native-immersive'
|
|
project(':react-native-immersive').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-immersive/android')
|
|
include ':react-native-keep-awake'
|
|
project(':react-native-keep-awake').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-keep-awake/android')
|
|
include ':react-native-vector-icons'
|
|
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
|
|
include ':react-native-webrtc'
|
|
project(':react-native-webrtc').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webrtc/android')
|