Skip to content

indodevniaga/cordova-plugin-jitsi

 
 

Repository files navigation

cordova-plugin-jitsi

Cordova plugin for Jitsi Meet React Native SDK. Works with both iOS and Android, and fixes the 64-bit binary dependency issue with Android found in previous versions of this plugin.

Summary

The original repo is here: https://github.com/agorum/cordova-plugin-jitsi

Installation

cordova plugin add https://github.com/sumeetchhetri/cordova-plugin-jitsi

iOS Installation

On iOS/Xcode you will need to manually specify the WebRTC and JitsiMeet frameworks manually to be embedded.

Example of how to select them here: https://github.com/seamlink-dev/cordova-plugin-jitsi-meet/blob/master/xcode-ios-framework-embed-example.png

Add Activity to AndroidManifest.xml manually or using

<activity
    android:name="com.cordova.plugin.jitsi.JitsiMeetPluginActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:launchMode="singleTask"
    android:resizeableActivity="true"
    android:supportsPictureInPicture="true"
    android:windowSoftInputMode="adjustResize">
</activity>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
    <activity
        android:name="com.cordova.plugin.jitsi.JitsiMeetPluginActivity"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
        android:launchMode="singleTask"
        android:resizeableActivity="true"
        android:supportsPictureInPicture="true"
        android:windowSoftInputMode="adjustResize">
    </activity>
</config-file>

Usage

const roomId = 'your-custom-room-id';

jitsiplugin.join('https://meet.jit.si/', roomId, false, function (data) {
    //CONFERENCE_WILL_JOIN
    //CONFERENCE_JOINED
    //CONFERENCE_TERMINATED
    //CONFERENCE_FINISHED
    //CONFERENCE_DESTROYED
    if (data === "CONFERENCE_TERMINATED") {
        jitsiplugin.destroy(function (data) {
            // call finished
        }, function (err) {
            console.log(err);
        });
    }
}, function (err) {
    console.log(err);
});

About

Cordova plugin for jitsi meet react native sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 91.8%
  • Java 5.5%
  • Objective-C++ 2.0%
  • Other 0.7%