Giter Site home page Giter Site logo

findmate / cordova-plugin-jitsi-meet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slothentic/cordova-plugin-jitsi-meet

17.0 17.0 21.0 9.84 MB

Cordova plugin for jitsi meet react native sdk

Objective-C 88.84% C 0.72% Java 7.38% Objective-C++ 2.83% JavaScript 0.23%
cordova cordova-plugin jitsi-meet react-native

cordova-plugin-jitsi-meet's People

Contributors

gaganinvic avatar gbahety avatar mnill avatar slothentic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-jitsi-meet's Issues

No events/data returning in the callback

Hello,
I am able to join a meeting using the below code, But there are no events/data, eg. "CONFERENCE_WILL_LEAVE", returned in the callback. Tried debugging in chrome but the debugger won't stop where the if-condition is written and directly opens/closes the intent.
Is there a way to get these events as it will be really very helpful in deciding what action to take while joining/terminating a meeting.

Thank you.

jitsiplugin.loadURL('https://meet.jit.si/' + roomId, roomId, false, function (data) {
    if (data === "CONFERENCE_WILL_LEAVE") {
        jitsiplugin.destroy(function (data) {
            // call finished
        }, function (err) {
            console.log(err);
        });
    }
}, function (err) {
    console.log(err);
});

Plugin integration

Hi

Congratulations on this project.

I have an Ionic app, I need to add a button to start a meeting on a specific server.
Are you available for a paid Job/integration? if yes please email me at [email protected]

low bandwidth mode crash app ios

Hi !.
I have a problem on iOS when users click on "low bandwidth mode" button. The app crash.

Someone know how to fix that or how can I hide this button ?.

tnks a lot !

video conference screen sharing

Hi, I saw an update of official Jitsi meet app for screen sharing. Eagerly waiting for cordova-plugin-jitsi-meet update for the same(Video conference screen sharing). Can you please roughly mention a date when this update will be available?

Am ready to pay for the same.

Waiting for cordova screen share plugin

Hi team , I am happy on using jitsi meet with such options on it... now i'm waiting for the cordova plugin for jitsi video conference screen sharing.... (videoShareEnable & conferenceTimeEnable) function is not working on last upate Please update the cordova plugin soon....

Cordova ios crashes on eye icon click

ref: jitsi/jitsi-meet#5561 is fixed in sdk

Please update sdk.

Current ERROR:
2020-05-11 13:49:09.346 [error][tid:main][RCTStatusBarManager.m:123] RCTStatusBarManager module requires that the UIViewControllerBasedStatusBarAppearance key in the Info.plist is set to NO
2020-05-11 13:49:09.346522+0530 WeInvite[1505:484072] RCTStatusBarManager module requires that the UIViewControllerBasedStatusBarAppearance key in the Info.plist is set to NO
2020-05-11 13:49:09.346596+0530 WeInvite[1505:484790] *** Assertion failure in -[FBSSerialQueue assertOnQueue], /BuildRoot/Library/Caches/com.apple.xbs/Sources/FrontBoardServices/FrontBoard-626.4.1/FrontBoardServices/FBSSerialQueue.m:98
2020-05-11 13:49:09.348 [fatal][tid:com.facebook.react.ProximityQueue] Exception 'threading violation: expected the main thread' was thrown while invoking setEnabled on target Proximity with params (
1
)
2020-05-11 13:49:09.348446+0530 WeInvite[1505:484790] Exception 'threading violation: expected the main thread' was thrown while invoking setEnabled on target Proximity with params (
1
)
2020-05-11 13:49:09.349071+0530 WeInvite[1505:484790] *** Terminating app due to uncaught exception 'RCTFatalException: Exception 'threading violation: expected the main thread' was thrown while invoking setEnabled on target Proximity with params (
1
)', reason: 'Exception 'threading violation: expected the main thread' was thrown while ...'
*** First throw call stack:
(0x1a82c496c 0x1a7fdd028 0x1a81b414c 0x1008b3cb4 0x1008bba4c 0x1008c6454 0x1008c5b60 0x1016e5e1c 0x1016e727c 0x1016ee90c 0x1016ef4fc 0x1016fa4dc 0x1a7fcf6d0 0x1a7fd59e8)
libc++abi.dylib: terminating with uncaught exception of type NSException

Please let me know if i can fix it myself any help appreciated. thanks in advance

when try to start call on ios "'NSInvalidArgumentException', reason: '-[JitsiMeetView setWelcomePageEnabled:]: unrecognized selector sent to instance 0x7fee9d01f170'"

2020-08-18 17:08:43.079539+0200 MyApp[17131:281894] -[JitsiMeetView setWelcomePageEnabled:]: unrecognized selector sent to instance 0x7fee9d01f170
2020-08-18 17:08:43.081058+0200 MyApp[17131:281894] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[JitsiMeetView setWelcomePageEnabled:]: unrecognized selector sent to instance 0x7fee9d01f170'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c4f02e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff50b97b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c6ff94 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 UIKitCore 0x00007fff4787df39 -[UIResponder doesNotRecognizeSelector:] + 302
4 CoreFoundation 0x00007fff23c53dac forwarding + 1436
5 CoreFoundation 0x00007fff23c55f38 _CF_forwarding_prep_0 + 120
6 MyApp 0x0000000104b3d7f8 -[JitsiPlugin loadURL:] + 1032
7 MyApp 0x0000000104b48aa4 -[CDVCommandQueue execute:] + 900
8 MyApp 0x0000000104b389af -[CDVWKWebViewEngine handleCordovaMessage:] + 207
9 MyApp 0x0000000104b3882b -[CDVWKWebViewEngine userContentController:didReceiveScriptMessage:] + 187
10 MyApp 0x0000000104b3abbe -[CDVWKWeakScriptMessageHandler userContentController:didReceiveScriptMessage:] + 126
11 WebKit 0x00007fff2d0ddb0f _ZN28ScriptMessageHandlerDelegate14didPostMessageERN6WebKit12WebPageProxyERKNS0_13FrameInfoDataERN7WebCore21SerializedScriptValueE + 217
12 WebKit 0x00007fff2d25f227 _ZN6WebKit29WebUserContentControllerProxy14didPostMessageERN3IPC10ConnectionEN3WTF16ObjectIdentifierIN7WebCore18PageIdentifierTypeEEERKNS_13FrameInfoDataEyRKNS1_13DataReferenceE + 175
13 WebKit 0x00007fff2d461f69 ZN3IPC13handleMessageIN8Messages29WebUserContentControllerProxy14DidPostMessageEN6WebKit29WebUserContentControllerProxyEMS5_FvRNS_10ConnectionEN3WTF16ObjectIdentifierIN7WebCore18PageIdentifierTypeEEERKNS4_13FrameInfoDataEyRKNS_13DataReferenceEEEEvS7_RNS_7DecoderEPT0_T1 + 116
14 WebKit 0x00007fff2cf5926e _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 114
15 WebKit 0x00007fff2d1a3928 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 24
16 WebKit 0x00007fff2cf44912 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 158
17 WebKit 0x00007fff2cf47664 _ZN3IPC10Connection24dispatchIncomingMessagesEv + 408
18 JavaScriptCore 0x00007fff26881d74 _ZN3WTF7RunLoop11performWorkEv + 228
19 JavaScriptCore 0x00007fff26882002 _ZN3WTF7RunLoop11performWorkEPv + 34
20 CoreFoundation 0x00007fff23bb2221 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
21 CoreFoundation 0x00007fff23bb214c __CFRunLoopDoSource0 + 76
22 CoreFoundation 0x00007fff23bb1924 __CFRunLoopDoSources0 + 180
23 CoreFoundation 0x00007fff23bac62f __CFRunLoopRun + 1263
24 CoreFoundation 0x00007fff23babe16 CFRunLoopRunSpecific + 438
25 GraphicsServices 0x00007fff38438bb0 GSEventRunModal + 65
26 UIKitCore 0x00007fff4784fb48 UIApplicationMain + 1621
27 MyApp 0x0000000104b21e91 main + 65
28 libdyld.dylib 0x00007fff51a1dc25 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

please help me

Capacitor Support

Hi
thank you for that Amazing Plugin.

I tried today to integrate it in to my Capacitor Project.
https://capacitorjs.com/

I am getting the following errors.
image

Do you have a Idea why?

Best,
Daniel

ios error - Undefined symbols for architecture x86_64

Thanks for the plugin. It works smooth for android after version bump to 21.

But I am getting the following error while deploying it in ios emulator:

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_JitsiMeetView", referenced from:
objc-class-ref in JitsiPlugin.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My code version is Version 11.3.1 (11C504).

Any help on this would be greatly appreciated.

Thanks.

cordova-plugin-jitsi-meet-sdk (last sdk version android & iOS)

Since the last commit in this repository was a year ago, still has not received important bug fixes and misses a lot of stuff from Jitsi Meet React Native SDK I've created a cordova plugin myself from scratch with the updated source code.
Actually supports only Android but i am planning to develop also the support for iOS. This depends when I will have again a macbook under my hands.
Give a look here and let me know. All issues are welcome.
https://github.com/Zeno97/cordova-plugin-jitsi-meet-sdk

Also available for freelance work

Build failing with cordova-plugin-fcm-with-dependecy-updated

I'm having this problem when I use this plugin together with Firebase, does anyone know a solution?

Task :app:compileDebugJavaWithJavac FAILED
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseInstanceIDService.java:11: error: cannot access zzb
public class MyFirebaseInstanceIDService extends FirebaseInstanceIdService {
^
class file for com.google.firebase.iid.zzb not found
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseInstanceIDService.java:15: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:38: error: cannot access zza
if(remoteMessage.getNotification() != null){
^
class file for com.google.android.gms.common.internal.safeparcel.zza not found
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:69: error: no suitable constructor found for Intent(MyFirebaseMessagingService,Class)
Intent intent = new Intent(this, FCMPluginActivity.class);
^
constructor Intent.Intent(String,Uri) is not applicable
(argument mismatch; MyFirebaseMessagingService cannot be converted to String)
constructor Intent.Intent(Context,Class<?>) is not applicable
(argument mismatch; MyFirebaseMessagingService cannot be converted to Context)
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:74: error: incompatible types: MyFirebaseMessagingService cannot be converted to Context
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0 /* Request code */, intent,
^
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:79: error: cannot find symbol
.setSmallIcon(getApplicationInfo().icon)
^
symbol: method getApplicationInfo()
location: class MyFirebaseMessagingService
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:78: error: incompatible types: MyFirebaseMessagingService cannot be converted to Context
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
^
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:87: error: cannot find symbol
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
^
symbol: method getSystemService(String)
location: class MyFirebaseMessagingService
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
31 actionable tasks: 13 executed, 18 up-to-date
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
8 errors

FAILURE: Build failed with an exception.

How to customize features

I have tried to customize the feature by url parameters , extra object but noting happens . Have any idea kindly share?

Getting error while trying to add plugin to Android cordova project

I try to run the following command:
cordova plugin add https://github.com/findmate/cordova-plugin-jitsi-meet

and get the following error:
Failed to fetch plugin https://github.com/findmate/cordova-plugin-jitsi-meet via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: npm: Command failed with exit code 4294963238 Error output:
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/findmate/cordova-plugin-jitsi-meet.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

WKWebView required for cordova-plugin-jitsi-meet plugin

I am getting the below error from apple store after uploading the app. This plugin works well when installed through xcode.
Since this plugin uses UIWebView, Apple connect is not processing the app and after some time I get the mail below.

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability.

Can you help to replace the plugin from UIWbView to WKWebView. Thank you in advance

Is there a way to include user info in loadURL call

Hi there,

Thanks for your work. Plugin works great on both iOS and Android !

I have a suggestion though. (I don't know anything about building plugins, so pardon me if this is completely out of bounds)

I looked at the react-native-jitsi-meet project which I understand is the base of this plugin.
And it seems that there is way to include some user info as mentioned in the Readme:

const userInfo = { displayName: 'User', email: '[email protected]', avatar: 'https:/gravatar.com/avatar/abc123' };
JitsiMeet.call(url, userInfo);

How difficult is it to add a extra variable to the jitsiplugin.loadURL function call such as:
jitsiplugin.loadURL(url, key, isInvisible, userInfo, ...)

Thanks for your help

Christophe

Error on Submitting to App Store

I've been using this plugin with the custom framework and further modifications. But I am now unable to submit the builds to App Store on the latest Mac OS Big SUR. It still works on the Catalina.

I get this error when submitting to the app store:

ERROR ITMS-90085: "No architectures in the binary. Lipo failed to detect any architectures in the bundle executable."

iOS build fails

Getting this error while trying to build iOS with ionic framework. It works fine on Android. But I couldn't resolve the issue with iOS.
IMG-20200811-WA0061 1

Video Quality is very poor

I'm using this plugin in my ionic 5 app.
But the problem is with the video quality. Even though bandwidth is good video quality is coming very poor in mobile.
Is there any way to increase video quality in the code.

Apple store rejected my because of my jitsi plugin is using UIWebView which is no longer accepted by apple. Please solve this issue

Dear Developer,

We identified one or more issues with a recent delivery for your app, "*******" 1.5.3 (5). Please correct the following issues, then upload again.

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Best regards,

The App Store Team

It is not necessary WebRTC and JitsiMeet frameworks manually to be embedded in the iOS/Xcode interface

It is not necessary WebRTC and JitsiMeet frameworks manually to be embedded in the iOS/Xcode interface.
To solve this problem, replace the 2 lines below in file config.xml :

<framework src="./framework/JitsiMeet.framework" custom="true" />
<framework src="./framework/WebRTC.framework" custom="true" />

with 4 lines below:

<source-file src="./framework/JitsiMeet.framework" target-dir="lib" framework="true" />
<source-file src="./framework/WebRTC.framework"    target-dir="lib" framework="true" />
<framework src="./framework/JitsiMeet.framework" custom="true" embed="true" />
<framework src="./framework/WebRTC.framework"    custom="true" embed="true" />

Here is the complete config.xml :

<?xml version='1.0' encoding='utf-8'?>
<plugin id='cordova-plugin-jitsi' version='1.0.2' xmlns='http://apache.org/cordova/ns/plugins/1.0' xmlns:android='http://schemas.android.com/apk/res/android'>
	<name>JitsiPlugin</name>
	<js-module name='JitsiPlugin' src='www/JitsiPlugin.js'>
		<clobbers target='jitsiplugin' />
	</js-module>


	<platform name='android'>
		<config-file parent='/*' target='res/xml/config.xml'>
			<feature name='JitsiPlugin'>
				<param name='android-package' value='com.cordova.plugin.jitsi.JitsiPlugin' />
			</feature>
		</config-file>
		<config-file parent='/*' target='AndroidManifest.xml'>
			<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
			<uses-permission android:name="android.permission.BLUETOOTH" />
			<uses-permission android:name="android.permission.CAMERA" />
			<uses-permission android:name="android.permission.INTERNET" />
			<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
			<uses-permission android:name="android.permission.RECORD_AUDIO" />
			<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
			<uses-permission android:name="android.permission.WAKE_LOCK" />
			<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
		</config-file>
		<source-file src='src/android/JitsiPlugin.java' target-dir='src/com/cordova/plugin/jitsi/' />
		<framework src='src/android/jitsiplugin.gradle' custom='true' type='gradleReference' />
	</platform>

	<!-- ios -->
    <platform name="ios">
        <config-file target="config.xml" parent="/*">
            <feature name="JitsiPlugin">
                <param name="ios-package" value="JitsiPlugin"/>
            </feature>
        </config-file>

		<header-file src="src/ios/JitsiMeetView.h" />
		<header-file src="src/ios/JitsiMeetViewDelegate.h" />
        <header-file src="src/ios/JitsiPlugin.h" />
        <source-file src="src/ios/JitsiPlugin.mm" />


        <source-file src="./framework/JitsiMeet.framework" target-dir="lib" framework="true" />
        <source-file src="./framework/WebRTC.framework"    target-dir="lib" framework="true" />


        <framework src="./framework/JitsiMeet.framework" custom="true" embed="true" />
        <framework src="./framework/WebRTC.framework"    custom="true" embed="true" />
		

    </platform>
</plugin>

How can I know that a video call is ended ?

In my ionic 5 app, after the video call ended I want to navigate to a particular page.
How can I know that the video call status.
I'm using like this
jitsiplugin.loadURL(url, roomId, false, function (data) { if (data === 'CONFERENCE_WILL_LEAVE') { jitsiplugin.destroy(function (data) { // call finished this.router.navigate(['appointment-list']); }, function (err) { console.log(err); }); } }, function (err) { console.log(err); });

But here the control not even coming to jitsiplugin.destroy()
How can I solve this

i cant run with these plugin

This is the plugin I am trying to use: https://www.npmjs.com/package/cordova-plugin-jitsi-meet
I install it "cordova plugin add cordova-plugin-jitsi-meet"
and the errors are in order the minimum version of the sdk that is in 22 and asks for 23 (the change in android studio since otherwise the change is not saved)
then the error is that the gradle you have is 6.
5 and it needs 6.7.1, so I get into platforms / android / cordova / lib / builders / and change in projectbuilder.js the variable where the gradle is so that it has the 6.7.1, and the last error it gives me after that is:

What went wrong:
Execution failed for task ': app: processDebugResources'.

A failure occurred while executing com.android.build.gradle.
internal.res.LinkApplicationAndroidResourcesTask $ TaskAction
Android resource linking failed
ERROR: C: \ Users \ ebsig \ Dropbox \ Work \ cordova vcall \ Vcall - copy \ platforms \ android \ app \ build \ intermediates \ packaged_manifests \ debug \ AndroidManifest.xml: 68: AAPT: error: resource style / Theme.Design .NoActionBar (aka com.iapps.vcall: style / Theme.Design
.NoActionBar) not found.

with the same error 6.9.
And from there it does not happen, since if I put the last gradle that exists (7.0.2) it gives me another different failure:

Where:
Build file 'C: \ Users \ ebsig \ Dropbox \ Work \ cordova vcall \ Vcall - copy \ platforms \ android \ CordovaLib \ build.gradle' line: 50

  • What went wrong:
    A problem occurred evaluating project ': CordovaLib'.

Failed to apply plugin 'com.github.dcendents.android-maven'.
Could not create plugin of type 'AndroidMavenPlugin'.
> Could not generate a decorated class for type AndroidMavenPlugin.
> org / gradle / api / publication / maven / internal / MavenPomMetaInfoProvider

so I don't know what else to do

Jitsi-Meet Plugin Android Cordova Gradle issues

Not sure if you can help but really looking for help to solve this issue.

I had to tweak some things for iOS and now it works without issues but android I can't get it to run.

I'm not an expert in Cordova plugins and this seems like a settings issue of some sort.

I put this in my jitsiplugin.gradle

configurations.all {
		resolutionStrategy {
			force "com.google.android.gms:play-services-basement:15.0.1"
			force "com.google.android.gms:play-services-tasks:15.0.1"
		}
	}

To remove this error

Dependency resolved to an incompatible version: Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.google.android.gms, artifactId=play-services-stats, version=15.0.1), toArtifact=Artifact(groupId=com.google.android.gms, artifactId=play-services-basement), toArtifactVersionString=[15.0.1])

FAILURE: Build failed with an exception.

  • What went wrong:
    Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.

In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[15.0.
1]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

Dependency failing: com.google.android.gms:play-services-stats:15.0.1 -> com.google.android.gms:play-services-basement@[
15.0.1], but play-services-basement version was 17.0.0.

The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto com.google.android.gms:[email protected]
-- Project 'app' depends onto com.google.android.gms:[email protected]
-- Project 'app' depends onto com.google.firebase:[email protected]
-- Project 'app' depends onto com.google.android.gms:[email protected]
-- Project 'app' depends onto com.google.firebase:[email protected]
-- Project 'app' depends onto com.facebook.react:[email protected]
-- Project 'app' depends onto com.google.firebase:[email protected]
-- Project 'app' depends onto com.google.android.gms:[email protected]
-- Project 'app' depends onto org.jitsi.react:[email protected]
-- Project 'app' depends onto com.google.firebase:[email protected]
-- Project 'app' depends onto org.jitsi.react:jitsi-meet-sdk@2.+
-- Project 'app' depends onto com.google.firebase:[email protected].+
-- Project 'app' depends onto com.google.android.gms:[email protected]
-- Project 'app' depends onto com.google.android.gms:[email protected]
-- Project 'app' depends onto com.google.firebase:[email protected]
-- Project 'app' depends onto com.google.android.gms:[email protected]

For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org
    Now I get this error

Program type already present: android.support.v4.media.MediaBrowserCompat$ConnectionCallback$StubApi21
How do I fix this?

Here is the complete jitsiplugin.gradle

repositories{
	jcenter()
	maven {
		url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
	}
	maven {
		url "https://maven.google.com"
	}
	configurations.all {
		resolutionStrategy {
			force "com.google.android.gms:play-services-basement:15.0.1"
			force "com.google.android.gms:play-services-tasks:15.0.1"
		}
	}
}
android {
	compileSdkVersion 26
			buildToolsVersion "26.0.1"
		
	defaultConfig {
		minSdkVersion 21
		targetSdkVersion 26
		multiDexEnabled true
		ndk {
			abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
		}

		packagingOptions {
				// The project react-native does not provide 64-bit binaries at the
				// time of this writing. Unfortunately, packaging any 64-bit
				// binaries into the .apk will crash the app at runtime on 64-bit
				// platforms.
				// exclude '/lib/mips64/**'
				// exclude '/lib/arm64-v8a/**'
				// exclude '/lib/x86_64/**'
		}
	}
	
	compileOptions {
		sourceCompatibility JavaVersion.VERSION_1_8
		targetCompatibility JavaVersion.VERSION_1_8
	}
	
	dexOptions {
			jumboMode = true
	}
}
dependencies {
	implementation  ('org.jitsi.react:jitsi-meet-sdk:2.+') {
		transitive=true;
	}
//	implementation "com.android.support:appcompat-v7:26.1.0"
//	implementation 'com.android.support.constraint:constraint-layout:1.1.3'
	implementation 'androidx.appcompat:appcompat:1.1.0'
	implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.