jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
44 stars 33 forks source link

Crash when Stripe library is used #37

Open yash-pietech opened 11 months ago

yash-pietech commented 11 months ago

Here is error logs

JitsiMeetUncaughtExceptionHandler FATAL ERROR

E/JitsiMeetSDK(16608): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.superbrain.user.dev/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView

I am using the latest version with this plugin .

Flutter Doctor `Flutter (Channel stable, 3.16.4, on macOS 13.3.1 22E772610a darwin-arm64, locale en-IN) • Flutter version 3.16.4 on channel stable at /opt/homebrew/Caskroom/flutter/3.16.4/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2e9cb0aa71 (8 days ago), 2023-12-11 14:35:13 -0700 • Engine revision 54a7145303 • Dart version 3.2.3 • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/yashoza/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E300c • CocoaPods version 1.14.3

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1) • VS Code at /Users/yashoza/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.78.0

[✓] Connected device (3 available) • POCO M2 Pro (mobile) • 192.168.0.103:5555 • android-arm64 • Android 11 (API 30) • macOS (desktop) • macos • darwin-arm64 • macOS 13.3.1 22E772610a darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.109

[✓] Network resources • All expected network resources are available. ` I reset my system and setup flutter , cocoapods with homebrew and download the latest android studio version but still its giving me the issue . @gabiborlea can you please check and let me know what is wrong .

Calinteodor commented 11 months ago

Do you end up in the same situation with the sample app?

yash-pietech commented 10 months ago

sample app is working , now with ios devices also I am able to join meeting when I added required permissions in info.plist file. In Android devices still I can not able to join meeting , app is crashing on join function

Calinteodor commented 10 months ago

Can you send us the full logcat, please?

yash-pietech commented 10 months ago

@Calinteodor
In our project we are using the flutter_stripe package too so in that we have to change this line class MainActivity : FlutterFragmentActivity() { so I removed that package and change this line to class MainActivity : FlutterActivity() { then jitsi call is working fine for me but we can not use the flutter_stripe package so would you please reproduce like that and check this issue.

yash-pietech commented 10 months ago

@Calinteodor Here is my error logs

D/OrientationModule( 4961): onActivityPaused D/OneSignal( 4961): [main] ApplicationService.onActivityPaused(1,APP_OPEN): com.example.user.MainActivity@a4915cd D/AppCompatDelegate( 4961): Checking for metadata for AppLocalesMetadataHolderService : Service not found D/OrientationModule( 4961): onActivityCreated D/OneSignal( 4961): [main] ApplicationService.onActivityCreated(1,APP_OPEN): org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity@6314eee W/rbrain.user.dev( 4961): Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) W/rbrain.user.dev( 4961): Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) I/org.webrtc.Logging( 4961): EglBase14Impl: Using OpenGL ES version 2 D/ReactInstanceManagerHolder( 4961): initializing RN with Activity D/AndroidRuntime( 4961): Shutting down VM E/AndroidRuntime( 4961): FATAL EXCEPTION: main E/AndroidRuntime( 4961): Process: com.superbrain.user.dev, PID: 4961 E/AndroidRuntime( 4961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.superbrain.user.dev/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/AndroidRuntime( 4961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3782) E/AndroidRuntime( 4961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922) E/AndroidRuntime( 4961): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E/AndroidRuntime( 4961): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) E/AndroidRuntime( 4961): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) E/AndroidRuntime( 4961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443) E/AndroidRuntime( 4961): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime( 4961): at android.os.Looper.loopOnce(Looper.java:205) E/AndroidRuntime( 4961): at android.os.Looper.loop(Looper.java:294) E/AndroidRuntime( 4961): at android.app.ActivityThread.main(ActivityThread.java:8177) E/AndroidRuntime( 4961): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 4961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) E/AndroidRuntime( 4961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) E/AndroidRuntime( 4961): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/AndroidRuntime( 4961): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/AndroidRuntime( 4961): Caused by: java.lang.reflect.InvocationTargetException E/AndroidRuntime( 4961): at java.lang.reflect.Constructor.newInstance0(Native Method) E/AndroidRuntime( 4961): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/AndroidRuntime( 4961): at android.view.LayoutInflater.createView(LayoutInflater.java:866) E/AndroidRuntime( 4961): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1018) E/AndroidRuntime( 4961): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:973) E/AndroidRuntime( 4961): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135) E/AndroidRuntime( 4961): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096) E/AndroidRuntime( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:694) E/AndroidRuntime( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:538) E/AndroidRuntime( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:485) E/AndroidRuntime( 4961): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775) E/AndroidRuntime( 4961): at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197) E/AndroidRuntime( 4961): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:103) E/AndroidRuntime( 4961): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:35) E/AndroidRuntime( 4961): at android.app.Activity.performCreate(Activity.java:8595) E/AndroidRuntime( 4961): at android.app.Activity.performCreate(Activity.java:8573) E/AndroidRuntime( 4961): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456) E/AndroidRuntime( 4961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764) E/AndroidRuntime( 4961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922) E/AndroidRuntime( 4961): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E/AndroidRuntime( 4961): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) E/AndroidRuntime( 4961): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) E/AndroidRuntime( 4961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443) E/AndroidRuntime( 4961): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime( 4961): at android.os.Looper.loopOnce(Looper.java:205) E/AndroidRuntime( 4961): at android.os.Looper.loop(Looper.java:294) E/AndroidRuntime( 4961): at android.app.ActivityThread.main(ActivityThread.java:8177) E/AndroidRuntime( 4961): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 4961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) E/AndroidRuntime( 4961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) E/AndroidRuntime( 4961): Caused by: java.lang.VerifyError: Verifier rejected class com.facebook.react.ReactInstanceManager: void com.facebook.react.ReactInstanceManager.setupReactContext(com.facebook.react.bridge.ReactApplicationContext) failed to verify: void com.facebook.react.ReactInstanceManager.setupReactContext(com.facebook.react.bridge.ReactApplicationContext): [0x37] register v10 has type Reference: com.facebook.react.bridge.ReactApplicationContext but expected Reference: com.facebook.react.bridge.ReactContext (declaration of 'com.facebook.react.ReactInstanceManager' appears in /data/app/~~NBvOPLmxoP04Oo219T1I7g==/com.superbrain.user.dev-In5vThIcfSKsWiLfyo6UnA==/base.apk!classes23.dex) E/AndroidRuntime( 4961): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:247) E/AndroidRuntime( 4961): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/AndroidRuntime( 4961): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102) E/AndroidRuntime( 4961): ... 30 more E/JitsiMeetSDK( 4961): JitsiMeetUncaughtExceptionHandler FATAL ERROR E/JitsiMeetSDK( 4961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.superbrain.user.dev/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK( 4961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3782) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922) E/JitsiMeetSDK( 4961): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) E/JitsiMeetSDK( 4961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443) E/JitsiMeetSDK( 4961): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK( 4961): at android.os.Looper.loopOnce(Looper.java:205) E/JitsiMeetSDK( 4961): at android.os.Looper.loop(Looper.java:294) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.main(ActivityThread.java:8177) E/JitsiMeetSDK( 4961): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK( 4961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) E/JitsiMeetSDK( 4961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) E/JitsiMeetSDK( 4961): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK( 4961): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK( 4961): Caused by: java.lang.reflect.InvocationTargetException E/JitsiMeetSDK( 4961): at java.lang.reflect.Constructor.newInstance0(Native Method) E/JitsiMeetSDK( 4961): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.createView(LayoutInflater.java:866) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1018) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:973) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:694) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:538) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:485) E/JitsiMeetSDK( 4961): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775) E/JitsiMeetSDK( 4961): at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:103) E/JitsiMeetSDK( 4961): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:35) E/JitsiMeetSDK( 4961): at android.app.Activity.performCreate(Activity.java:8595) E/JitsiMeetSDK( 4961): at android.app.Activity.performCreate(Activity.java:8573) E/JitsiMeetSDK( 4961): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922) E/JitsiMeetSDK( 4961): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) E/JitsiMeetSDK( 4961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443) E/JitsiMeetSDK( 4961): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK( 4961): at android.os.Looper.loopOnce(Looper.java:205) E/JitsiMeetSDK( 4961): at android.os.Looper.loop(Looper.java:294) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.main(ActivityThread.java:8177) E/JitsiMeetSDK( 4961): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK( 4961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) E/JitsiMeetSDK( 4961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) E/JitsiMeetSDK( 4961): Caused by: java.lang.VerifyError: Verifier rejected class com.facebook.react.ReactInstanceManager: void com.facebook.react.ReactInstanceManager.setupReactContext(com.facebook.react.bridge.ReactApplicationContext) failed to verify: void com.facebook.react.ReactInstanceManager.setupReactContext(com.facebook.react.bridge.ReactApplicationContext): [0x37] register v10 has type Reference: com.facebook.react.bridge.ReactApplicationContext but expected Reference: com.facebook.react.bridge.ReactContext (declaration of 'com.facebook.react.ReactInstanceManager' appears in /data/app/~~NBvOPLmxoP04Oo219T1I7g==/com.superbrain.user.dev-In5vThIcfSKsWiLfyo6UnA==/base.apk!classes23.dex) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:247) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102) E/JitsiMeetSDK( 4961): ... 30 more E/JitsiMeetSDK( 4961): E/JitsiMeetSDK( 4961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.superbrain.user.dev/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK( 4961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3782) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922) E/JitsiMeetSDK( 4961): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) E/JitsiMeetSDK( 4961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443) E/JitsiMeetSDK( 4961): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK( 4961): at android.os.Looper.loopOnce(Looper.java:205) E/JitsiMeetSDK( 4961): at android.os.Looper.loop(Looper.java:294) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.main(ActivityThread.java:8177) E/JitsiMeetSDK( 4961): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK( 4961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) E/JitsiMeetSDK( 4961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) E/JitsiMeetSDK( 4961): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK( 4961): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57155 in com.superbrain.user.dev:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK( 4961): Caused by: java.lang.reflect.InvocationTargetException E/JitsiMeetSDK( 4961): at java.lang.reflect.Constructor.newInstance0(Native Method) E/JitsiMeetSDK( 4961): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.createView(LayoutInflater.java:866) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1018) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:973) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:694) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:538) E/JitsiMeetSDK( 4961): at android.view.LayoutInflater.inflate(LayoutInflater.java:485) E/JitsiMeetSDK( 4961): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775) E/JitsiMeetSDK( 4961): at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:103) E/JitsiMeetSDK( 4961): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:35) E/JitsiMeetSDK( 4961): at android.app.Activity.performCreate(Activity.java:8595) E/JitsiMeetSDK( 4961): at android.app.Activity.performCreate(Activity.java:8573) E/JitsiMeetSDK( 4961): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3764) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922) E/JitsiMeetSDK( 4961): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) E/JitsiMeetSDK( 4961): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) E/JitsiMeetSDK( 4961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443) E/JitsiMeetSDK( 4961): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK( 4961): at android.os.Looper.loopOnce(Looper.java:205) E/JitsiMeetSDK( 4961): at android.os.Looper.loop(Looper.java:294) E/JitsiMeetSDK( 4961): at android.app.ActivityThread.main(ActivityThread.java:8177) E/JitsiMeetSDK( 4961): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK( 4961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) E/JitsiMeetSDK( 4961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) E/JitsiMeetSDK( 4961): Caused by: java.lang.VerifyError: Verifier rejected class com.facebook.react.ReactInstanceManager: void com.facebook.react.ReactInstanceManager.setupReactContext(com.facebook.react.bridge.ReactApplicationContext) failed to verify: void com.facebook.react.ReactInstanceManager.setupReactContext(com.facebook.react.bridge.ReactApplicationContext): [0x37] register v10 has type Reference: com.facebook.react.bridge.ReactApplicationContext but expected Reference: com.facebook.react.bridge.ReactContext (declaration of 'com.facebook.react.ReactInstanceManager' appears in /data/app/~~NBvOPLmxoP04Oo219T1I7g==/com.superbrain.user.dev-In5vThIcfSKsWiLfyo6UnA==/base.apk!classes23.dex) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:247) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/JitsiMeetSDK( 4961): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102) E/JitsiMeetSDK( 4961): ... 30 more D/EGL_emulation( 4961): app_time_stats: avg=50.36ms min=1.42ms max=1316.86ms count=33 I/rbrain.user.dev( 4961): Thread[6,tid=4967,WaitingInMainSignalCatcherLoop,Thread*=0xb400007bd5014b90,peer=0x137c0240,"Signal Catcher"]: reacting to signal 3 I/rbrain.user.dev( 4961): I/rbrain.user.dev( 4961): Wrote stack traces to tombstoned Lost connection to device.

Exited.

Xoka74 commented 9 months ago

@yash-pietech Hello! Any updates on this issue?

kirilldevteam commented 9 months ago

@yash-pietech Hi, I'm getting the same error when connecting stripe. I did a little research into what exactly is going on and came to the following conclusions:

The real error is in these lines - Reference: com.facebook.react.bridge.ReactApplicationContext but expected Reference: com.facebook.react.bridge.ReactContext

This means that when some Jitsi dependencies are initialized, another Java class with the same name and the same package is connected (I’m not an expert in Java). This happens because Jitsi was compiled and cannot check these dependencies at build time, and it comes up in RunTime with "something else" that is not what it should be. I looked into the Stripe package and found exactly these same classes right in the package sources (but apparently a different version?). They basically have the same package and className coming from com.facebook.react.bridge. And it seems that after stripe is loaded (replaced by FlutterFragmentActivity) as a plugin, it overwrites/reloads these classes (again, I’m not a java expert and don’t know how this really works). Because of this, an error occurs in runtime when initializing JitsiMeetView, because the wrong classes are loaded, but with the same name and package.

Workaround: A workaround is to locally rename the Stripe packages com.facebook.react.bridge to something else so it doesn't conflict with Jitsi. It worked for me.

I don't think the problem is with Jitsi, but rather with Stripe and their package naming policies. Or maybe this is a normal situation, you just have to deal with this sometimes =D

love Java

I would like to get a more expert opinion on this situation and ways to resolve such conflicts in Java.

Korefey commented 9 months ago

Hi everybody. I got the same error, any update?

Xoka74 commented 8 months ago

@Korefey Hi, above your comment there is a solution for this problem, works pretty well (though a bit quirky). And I think that this won't be fixed by devs both jitsi and stripe, because it's not a library error or something, it's about compatibility of both libs.

Biven-Codenomad commented 8 months ago

I am also trying to integrate jitsi into flutter application same crashing occurs at my end as well but my console errors are little different than above, rest all is same:

E/JitsiMeetSDK(13261): Caused by: java.lang.VerifyError: Verifier rejected class com.oblador.performance.PerformanceModule: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark): [0x27] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap E/JitsiMeetSDK(13261): void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric): [0x30] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap (declaration of 'com.oblador.performance.PerformanceModule' appears in /data/app/~~guyPJ7MiXJ1p3M3xjjz68g==/com.tinqui-mjtBY1fRxD_lkzqMIZLQnw==/base.apk!classes23.dex) E/JitsiMeetSDK(13261): at com.oblador.performance.PerformancePackage.(PerformancePackage.java:19) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.getReactNativePackages(ReactInstanceManagerHolder.java:90) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:256) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102)

Could there be any solution to this issue?

saghul commented 8 months ago

Are you also using the stripe plugin?

Biven-Codenomad commented 8 months ago

yes, I am using flutter_stripe: ^9.2.0

Biven-Codenomad commented 8 months ago

After renaming the Stripe package, my console log errors got changed, here are my current logs:

D/AndroidRuntime( 2955): Shutting down VM E/AndroidRuntime( 2955): FATAL EXCEPTION: main E/AndroidRuntime( 2955): Process: com.tinqui, PID: 2955 E/AndroidRuntime( 2955): java.lang.NoSuchMethodError: No static method builder()Lcom/facebook/react/common/MapBuilder$Builder; in class Lcom/facebook/react/common/MapBuilder; or its super classes (declaration of 'com.facebook.react.common.MapBuilder' appears in /data/app/~~wjgzixeU_w-j7S9LaSFw0Q==/com.tinqui-vqx04RGOFpQ74Y1GcVa8Zw==/base.apk!classes14.dex) E/AndroidRuntime( 2955): at com.facebook.react.ReactAndroidHWInputDeviceHelper.(ReactAndroidHWInputDeviceHelper.java:25) E/AndroidRuntime( 2955): at com.facebook.react.ReactRootView.(ReactRootView.java:106) E/AndroidRuntime( 2955): at org.jitsi.meet.sdk.JitsiMeetView.createReactRootView(JitsiMeetView.java:180) E/AndroidRuntime( 2955): at org.jitsi.meet.sdk.JitsiMeetView.setProps(JitsiMeetView.java:223) E/AndroidRuntime( 2955): at org.jitsi.meet.sdk.JitsiMeetView.join(JitsiMeetView.java:156) E/AndroidRuntime( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.join(JitsiMeetActivity.java:174) E/AndroidRuntime( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.initialize(JitsiMeetActivity.java:220) E/AndroidRuntime( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:109) E/AndroidRuntime( 2955): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:38) E/AndroidRuntime( 2955): at android.app.Activity.performCreate(Activity.java:8591) E/AndroidRuntime( 2955): at android.app.Activity.performCreate(Activity.java:8570) E/AndroidRuntime( 2955): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) E/AndroidRuntime( 2955): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150) E/AndroidRuntime( 2955): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/AndroidRuntime( 2955): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/AndroidRuntime( 2955): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/AndroidRuntime( 2955): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/AndroidRuntime( 2955): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/AndroidRuntime( 2955): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime( 2955): at android.os.Looper.loopOnce(Looper.java:226) E/AndroidRuntime( 2955): at android.os.Looper.loop(Looper.java:313) E/AndroidRuntime( 2955): at android.app.ActivityThread.main(ActivityThread.java:8762) E/AndroidRuntime( 2955): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 2955): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/AndroidRuntime( 2955): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/JitsiMeetSDK( 2955): JitsiMeetUncaughtExceptionHandler FATAL ERROR E/JitsiMeetSDK( 2955): java.lang.NoSuchMethodError: No static method builder()Lcom/facebook/react/common/MapBuilder$Builder; in class Lcom/facebook/react/common/MapBuilder; or its super classes (declaration of 'com.facebook.react.common.MapBuilder' appears in /data/app/~~wjgzixeU_w-j7S9LaSFw0Q==/com.tinqui-vqx04RGOFpQ74Y1GcVa8Zw==/base.apk!classes14.dex) E/JitsiMeetSDK( 2955): at com.facebook.react.ReactAndroidHWInputDeviceHelper.(ReactAndroidHWInputDeviceHelper.java:25) E/JitsiMeetSDK( 2955): at com.facebook.react.ReactRootView.(ReactRootView.java:106) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetView.createReactRootView(JitsiMeetView.java:180) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetView.setProps(JitsiMeetView.java:223) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetView.join(JitsiMeetView.java:156) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.join(JitsiMeetActivity.java:174) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.initialize(JitsiMeetActivity.java:220) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:109) E/JitsiMeetSDK( 2955): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:38) E/JitsiMeetSDK( 2955): at android.app.Activity.performCreate(Activity.java:8591) E/JitsiMeetSDK( 2955): at android.app.Activity.performCreate(Activity.java:8570) E/JitsiMeetSDK( 2955): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) E/JitsiMeetSDK( 2955): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150) E/JitsiMeetSDK( 2955): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/JitsiMeetSDK( 2955): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/JitsiMeetSDK( 2955): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/JitsiMeetSDK( 2955): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/JitsiMeetSDK( 2955): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/JitsiMeetSDK( 2955): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK( 2955): at android.os.Looper.loopOnce(Looper.java:226) E/JitsiMeetSDK( 2955): at android.os.Looper.loop(Looper.java:313) E/JitsiMeetSDK( 2955): at android.app.ActivityThread.main(ActivityThread.java:8762) E/JitsiMeetSDK( 2955): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK( 2955): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/JitsiMeetSDK( 2955): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/JitsiMeetSDK( 2955): E/JitsiMeetSDK( 2955): java.lang.NoSuchMethodError: No static method builder()Lcom/facebook/react/common/MapBuilder$Builder; in class Lcom/facebook/react/common/MapBuilder; or its super classes (declaration of 'com.facebook.react.common.MapBuilder' appears in /data/app/~~wjgzixeU_w-j7S9LaSFw0Q==/com.tinqui-vqx04RGOFpQ74Y1GcVa8Zw==/base.apk!classes14.dex) E/JitsiMeetSDK( 2955): at com.facebook.react.ReactAndroidHWInputDeviceHelper.(ReactAndroidHWInputDeviceHelper.java:25) E/JitsiMeetSDK( 2955): at com.facebook.react.ReactRootView.(ReactRootView.java:106) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetView.createReactRootView(JitsiMeetView.java:180) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetView.setProps(JitsiMeetView.java:223) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetView.join(JitsiMeetView.java:156) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.join(JitsiMeetActivity.java:174) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.initialize(JitsiMeetActivity.java:220) E/JitsiMeetSDK( 2955): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:109) E/JitsiMeetSDK( 2955): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:38) E/JitsiMeetSDK( 2955): at android.app.Activity.performCreate(Activity.java:8591) E/JitsiMeetSDK( 2955): at android.app.Activity.performCreate(Activity.java:8570) E/JitsiMeetSDK( 2955): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) E/JitsiMeetSDK( 2955): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150) E/JitsiMeetSDK( 2955): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/JitsiMeetSDK( 2955): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/JitsiMeetSDK( 2955): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/JitsiMeetSDK( 2955): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/JitsiMeetSDK( 2955): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/JitsiMeetSDK( 2955): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK( 2955): at android.os.Looper.loopOnce(Looper.java:226) E/JitsiMeetSDK( 2955): at android.os.Looper.loop(Looper.java:313) E/JitsiMeetSDK( 2955): at android.app.ActivityThread.main(ActivityThread.java:8762) E/JitsiMeetSDK( 2955): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK( 2955): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/JitsiMeetSDK( 2955): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) I/Process ( 2955): Sending signal. PID: 2955 SIG: 9 Lost connection to device.

Now what will be the solution for this issue?

saghul commented 8 months ago

Are you using ProGruard? What rules are you using?

Biven-Codenomad commented 8 months ago

Are you asking about the lint rules listing, then I have shared them but if you are asking for any other rules please let me know.

linter: rules:

these rules are documented on and in the same order as

# the Dart Lint rules page to make maintenance easier
# https://github.com/dart-lang/linter/blob/master/example/all.yaml
- always_declare_return_types
- always_put_control_body_on_new_line
# - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219
# - always_require_non_null_named_parameters
- always_specify_types
- annotate_overrides
# - avoid_annotating_with_dynamic # conflicts with always_specify_types
# - avoid_as
- avoid_bool_literals_in_conditional_expressions
# - avoid_catches_without_on_clauses # we do this commonly
# - avoid_catching_errors # we do this commonly
- avoid_classes_with_only_static_members
# - avoid_double_and_int_checks # only useful when targeting JS runtime
- avoid_empty_else
- avoid_field_initializers_in_const_classes
- avoid_function_literals_in_foreach_calls
# - avoid_implementing_value_types # not yet tested
- avoid_init_to_null
# - avoid_js_rounded_ints # only useful when targeting JS runtime
- avoid_null_checks_in_equality_operators
# - avoid_positional_boolean_parameters # not yet tested
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
- avoid_relative_lib_imports
- avoid_renaming_method_parameters
- avoid_return_types_on_setters
# - avoid_returning_null # there are plenty of valid reasons to return null
# - avoid_returning_null_for_future # not yet tested
- avoid_returning_null_for_void
# - avoid_returning_this # there are plenty of valid reasons to return this
# - avoid_setters_without_getters # not yet tested
# - avoid_shadowing_type_parameters # not yet tested
# - avoid_single_cascade_in_expression_statements # not yet tested
- avoid_slow_async_io
- avoid_types_as_parameter_names
# - avoid_types_on_closure_parameters # conflicts with always_specify_types
- avoid_unused_constructor_parameters
- avoid_void_async
- await_only_futures
- camel_case_types
- cancel_subscriptions
# - cascade_invocations # not yet tested
# - close_sinks # not reliable enough
# - comment_references # blocked on https://github.com/flutter/flutter/issues/20765
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/sdk/issues/57301
- control_flow_in_finally
# - curly_braces_in_flow_control_structures # not yet tested
# - diagnostic_describe_all_properties # not yet tested
- directives_ordering
- empty_catches
- empty_constructor_bodies
- empty_statements
# - file_names # not yet tested
- flutter_style_todos
- hash_and_equals
- implementation_imports
# - invariant_booleans # too many false positives: https://github.com/dart-lang/sdk/issues/57643
- iterable_contains_unrelated_type
# - join_return_with_assignment # not yet tested
- library_names
- library_prefixes
# - lines_longer_than_80_chars # not yet tested
- list_remove_unrelated_type
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/sdk/issues/34181
- no_adjacent_strings_in_list
- no_duplicate_case_values
- non_constant_identifier_names
# - null_closures  # not yet tested
# - omit_local_variable_types # opposite of always_specify_types
# - one_member_abstracts # too many false positives
# - only_throw_errors # https://github.com/flutter/flutter/issues/5792
- overridden_fields
- package_api_docs
- package_names
- package_prefixed_library_names
# - parameter_assignments # we do this commonly
- prefer_adjacent_string_concatenation
- prefer_asserts_in_initializer_lists
# - prefer_asserts_with_message # not yet tested
- prefer_collection_literals
- prefer_conditional_assignment
- prefer_const_constructors
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_const_literals_to_create_immutables
# - prefer_constructors_over_static_methods # not yet tested
- prefer_contains
# - prefer_double_quotes # opposite of prefer_single_quotes
- prefer_equal_for_default_values
# - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods
- prefer_final_fields
# - prefer_final_in_for_each # not yet tested
- prefer_final_locals
# - prefer_for_elements_to_map_fromIterable # not yet tested
- prefer_foreach
# - prefer_function_declarations_over_variables # not yet tested
- prefer_generic_function_type_aliases
- prefer_if_elements_to_conditional_expressions
- prefer_if_null_operators
- prefer_initializing_formals
- prefer_inlined_adds
# - prefer_int_literals # not yet tested
# - prefer_interpolation_to_compose_strings # not yet tested
- prefer_is_empty
- prefer_is_not_empty
- prefer_iterable_whereType
# - prefer_mixin # https://github.com/dart-lang/language/issues/32
# - prefer_null_aware_operators # disable until NNBD, see https://github.com/flutter/flutter/pull/32711#issuecomment-492930932
- prefer_single_quotes
- prefer_spread_collections
- prefer_typing_uninitialized_variables
- prefer_void_to_null
# - provide_deprecation_message # not yet tested
# - public_member_api_docs # enabled on a case-by-case basis; see e.g. packages/analysis_options.yaml
- recursive_getters
- slash_for_doc_comments
# - sort_child_properties_last # not yet tested
- sort_constructors_first
# - sort_pub_dependencies
- sort_unnamed_constructors_first
- test_types_in_equals
- throw_in_finally
# - type_annotate_public_apis # subset of always_specify_types
- type_init_formals
# - unawaited_futures # too many false positives
# - unnecessary_await_in_return # not yet tested
- unnecessary_brace_in_string_interps
- unnecessary_const
- unnecessary_getters_setters
# - unnecessary_lambdas # has false positives: https://github.com/dart-lang/sdk/issues/57480
- unnecessary_new
- unnecessary_null_aware_assignments
- unnecessary_null_in_if_null_operators
- unnecessary_overrides
- unnecessary_parenthesis
- unnecessary_statements
- unnecessary_this
- unrelated_type_equality_checks
# - unsafe_html # not yet tested
- use_full_hex_values_for_flutter_colors
# - use_function_type_syntax_for_parameters # not yet tested
- use_rethrow_when_possible
# - use_setters_to_change_properties # not yet tested
# - use_string_buffers # has false positives: https://github.com/dart-lang/sdk/issues/34182
# - use_to_and_as_if_applicable # has false positives, so we prefer to catch this by code-review
- valid_regexps
# - void_checks # not yet tested

In my android app/build.gradle, this has been used:

buildTypes {
        release {
            // TOD: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug

            minifyEnabled true
            // useProguard true

            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
saghul commented 8 months ago

Those are not proguard rules. Do you have some proguard-* file in your project?

Biven-Codenomad commented 8 months ago

No file is not present in my project Screenshot 2024-03-19 160125

saghul commented 8 months ago

Do you have any other plugin dependencies which use React Native underneath?

Biven-Codenomad commented 8 months ago

I guess not, but I have integrated the jitsi into my project by trying a couple of different Android SDK versions and adding some files path in packagingOptions in android build.gradle

I just wanna ask how a moderator can start meetings directly through the app without going to the external login page to authenticate to log in as the moderator. If I have added token in the Options then how can we generate a token to start a meeting as a moderator in this without going to external links to authenticate?

saghul commented 8 months ago

I guess not, but I have integrated the jitsi into my project by trying a couple of different Android SDK versions and adding some files path in packagingOptions in android build.gradle

Are you able to reproduce the problem with our app sample?

I just wanna ask how a moderator can start meetings directly through the app without going to the external login page to authenticate to log in as the moderator. If I have added token in the Options then how can we generate a token to start a meeting as a moderator in this without going to external links to authenticate?

If you are using meet.jit.si as the server you need to authenticate on the web, that's how our public server is configured. If you use your own server you can configure auth differently.

Biven-Codenomad commented 8 months ago

****> I am also trying to integrate jitsi into flutter application same crashing occurs at my end as well but my console errors are little different than above, rest all is same:

E/JitsiMeetSDK(13261): Caused by: java.lang.VerifyError: Verifier rejected class com.oblador.performance.PerformanceModule: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark): [0x27] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap E/JitsiMeetSDK(13261): void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric): [0x30] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap (declaration of 'com.oblador.performance.PerformanceModule' appears in /data/app/~~guyPJ7MiXJ1p3M3xjjz68g==/com.tinqui-mjtBY1fRxD_lkzqMIZLQnw==/base.apk!classes23.dex) E/JitsiMeetSDK(13261): at com.oblador.performance.PerformancePackage.(PerformancePackage.java:19) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.getReactNativePackages(ReactInstanceManagerHolder.java:90) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:256) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/JitsiMeetSDK(13261): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102)

Could there be any solution to this issue?

What is the possible solution for this issue? I have stopped using strip to make jitsi work properly and now my jitsi is working fine without Strip package. But now I also want to integrate the strip, and the above error is again popping up. Could there be some solution for this issue mine is a little different than that of the above and the recommended solution didn't even work on mine, here are my current console logs:

I/ViewRootImpl@34e9549MainActivity: ViewPostIme pointer 0 I/ViewRootImpl@34e9549MainActivity: ViewPostIme pointer 1 I/DecorView(22430): [INFO] isPopOver=false config=true I/DecorView(22430): updateCaptionType: isFloating=false isApplication=true hasWindowDecorCaption=false this=DecorView@5d38b2[] D/DecorView(22430): setCaptionType = 0, this = DecorView@5d38b2[] I/DecorView(22430): getCurrentDensityDpi: from real metrics. densityDpi=320 msg=resources_loaded I/DecorView(22430): setWindowBackground: isPopOver=false color=fffafafa d=android.graphics.drawable.ColorDrawable@2d76b80 W/com.tinqui(22430): Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) W/com.tinqui(22430): Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) I/org.webrtc.Logging(22430): EglBase14Impl: Using OpenGL ES version 2 D/ReactInstanceManagerHolder(22430): initializing RN with Activity W/com.tinqui(22430): Accessing hidden method Landroid/content/Context;->destroy()V (blocked, linking, denied) W/com.tinqui(22430): Accessing hidden method Landroid/content/Context;->destroy()V (blocked, linking, denied) D/AndroidRuntime(22430): Shutting down VM E/AndroidRuntime(22430): FATAL EXCEPTION: main E/AndroidRuntime(22430): Process: com.tinqui, PID: 22430 E/AndroidRuntime(22430): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tinqui/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/AndroidRuntime(22430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4169) E/AndroidRuntime(22430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/AndroidRuntime(22430): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/AndroidRuntime(22430): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/AndroidRuntime(22430): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/AndroidRuntime(22430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/AndroidRuntime(22430): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime(22430): at android.os.Looper.loopOnce(Looper.java:226) E/AndroidRuntime(22430): at android.os.Looper.loop(Looper.java:313) E/AndroidRuntime(22430): at android.app.ActivityThread.main(ActivityThread.java:8762) E/AndroidRuntime(22430): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(22430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/AndroidRuntime(22430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/AndroidRuntime(22430): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/AndroidRuntime(22430): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/AndroidRuntime(22430): Caused by: java.lang.reflect.InvocationTargetException E/AndroidRuntime(22430): at java.lang.reflect.Constructor.newInstance0(Native Method) E/AndroidRuntime(22430): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/AndroidRuntime(22430): at android.view.LayoutInflater.createView(LayoutInflater.java:876) E/AndroidRuntime(22430): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1028) E/AndroidRuntime(22430): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983) E/AndroidRuntime(22430): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1145) E/AndroidRuntime(22430): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106) E/AndroidRuntime(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:692) E/AndroidRuntime(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:544) E/AndroidRuntime(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:491) E/AndroidRuntime(22430): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775) E/AndroidRuntime(22430): at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197) E/AndroidRuntime(22430): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:103) E/AndroidRuntime(22430): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:38) E/AndroidRuntime(22430): at android.app.Activity.performCreate(Activity.java:8591) E/AndroidRuntime(22430): at android.app.Activity.performCreate(Activity.java:8570) E/AndroidRuntime(22430): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) E/AndroidRuntime(22430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150) E/AndroidRuntime(22430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/AndroidRuntime(22430): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/AndroidRuntime(22430): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/AndroidRuntime(22430): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/AndroidRuntime(22430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/AndroidRuntime(22430): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime(22430): at android.os.Looper.loopOnce(Looper.java:226) E/AndroidRuntime(22430): at android.os.Looper.loop(Looper.java:313) E/AndroidRuntime(22430): at android.app.ActivityThread.main(ActivityThread.java:8762) E/AndroidRuntime(22430): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(22430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/AndroidRuntime(22430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/AndroidRuntime(22430): Caused by: java.lang.VerifyError: Verifier rejected class com.oblador.performance.PerformanceModule: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark): [0x27] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap E/AndroidRuntime(22430): void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric): [0x30] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap (declaration of 'com.oblador.performance.PerformanceModule' appears in /data/app/~~EnEBZDBjhvxNXk4Em655tw==/com.tinqui-wI-QJNiAXzYmkiH3yqkurw==/base.apk!classes23.dex) E/AndroidRuntime(22430): at com.oblador.performance.PerformancePackage.(PerformancePackage.java:19) E/AndroidRuntime(22430): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.getReactNativePackages(ReactInstanceManagerHolder.java:90) E/AndroidRuntime(22430): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:256) E/AndroidRuntime(22430): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/AndroidRuntime(22430): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102) E/AndroidRuntime(22430): ... 30 more E/JitsiMeetSDK(22430): JitsiMeetUncaughtExceptionHandler FATAL ERROR E/JitsiMeetSDK(22430): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tinqui/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK(22430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4169) E/JitsiMeetSDK(22430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/JitsiMeetSDK(22430): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/JitsiMeetSDK(22430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/JitsiMeetSDK(22430): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK(22430): at android.os.Looper.loopOnce(Looper.java:226) E/JitsiMeetSDK(22430): at android.os.Looper.loop(Looper.java:313) E/JitsiMeetSDK(22430): at android.app.ActivityThread.main(ActivityThread.java:8762) E/JitsiMeetSDK(22430): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK(22430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/JitsiMeetSDK(22430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/JitsiMeetSDK(22430): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK(22430): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK(22430): Caused by: java.lang.reflect.InvocationTargetException E/JitsiMeetSDK(22430): at java.lang.reflect.Constructor.newInstance0(Native Method) E/JitsiMeetSDK(22430): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.createView(LayoutInflater.java:876) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1028) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1145) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:692) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:544) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:491) E/JitsiMeetSDK(22430): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775) E/JitsiMeetSDK(22430): at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:103) E/JitsiMeetSDK(22430): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:38) E/JitsiMeetSDK(22430): at android.app.Activity.performCreate(Activity.java:8591) E/JitsiMeetSDK(22430): at android.app.Activity.performCreate(Activity.java:8570) E/JitsiMeetSDK(22430): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) E/JitsiMeetSDK(22430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150) E/JitsiMeetSDK(22430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/JitsiMeetSDK(22430): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/JitsiMeetSDK(22430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/JitsiMeetSDK(22430): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK(22430): at android.os.Looper.loopOnce(Looper.java:226) E/JitsiMeetSDK(22430): at android.os.Looper.loop(Looper.java:313) E/JitsiMeetSDK(22430): at android.app.ActivityThread.main(ActivityThread.java:8762) E/JitsiMeetSDK(22430): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK(22430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/JitsiMeetSDK(22430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/JitsiMeetSDK(22430): Caused by: java.lang.VerifyError: Verifier rejected class com.oblador.performance.PerformanceModule: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark): [0x27] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap E/JitsiMeetSDK(22430): void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric): [0x30] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap (declaration of 'com.oblador.performance.PerformanceModule' appears in /data/app/~~EnEBZDBjhvxNXk4Em655tw==/com.tinqui-wI-QJNiAXzYmkiH3yqkurw==/base.apk!classes23.dex) E/JitsiMeetSDK(22430): at com.oblador.performance.PerformancePackage.(PerformancePackage.java:19) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.getReactNativePackages(ReactInstanceManagerHolder.java:90) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:256) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102) E/JitsiMeetSDK(22430): ... 30 more E/JitsiMeetSDK(22430): E/JitsiMeetSDK(22430): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tinqui/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK(22430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4169) E/JitsiMeetSDK(22430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/JitsiMeetSDK(22430): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/JitsiMeetSDK(22430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/JitsiMeetSDK(22430): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK(22430): at android.os.Looper.loopOnce(Looper.java:226) E/JitsiMeetSDK(22430): at android.os.Looper.loop(Looper.java:313) E/JitsiMeetSDK(22430): at android.app.ActivityThread.main(ActivityThread.java:8762) E/JitsiMeetSDK(22430): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK(22430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/JitsiMeetSDK(22430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/JitsiMeetSDK(22430): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK(22430): Caused by: android.view.InflateException: Binary XML file line dart-lang/sdk#57158 in com.tinqui:layout/activity_jitsi_meet: Error inflating class org.jitsi.meet.sdk.JitsiMeetView E/JitsiMeetSDK(22430): Caused by: java.lang.reflect.InvocationTargetException E/JitsiMeetSDK(22430): at java.lang.reflect.Constructor.newInstance0(Native Method) E/JitsiMeetSDK(22430): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.createView(LayoutInflater.java:876) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1028) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1145) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:692) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:544) E/JitsiMeetSDK(22430): at android.view.LayoutInflater.inflate(LayoutInflater.java:491) E/JitsiMeetSDK(22430): at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775) E/JitsiMeetSDK(22430): at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.JitsiMeetActivity.onCreate(JitsiMeetActivity.java:103) E/JitsiMeetSDK(22430): at org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity.onCreate(WrapperJitsiMeetActivity.kt:38) E/JitsiMeetSDK(22430): at android.app.Activity.performCreate(Activity.java:8591) E/JitsiMeetSDK(22430): at android.app.Activity.performCreate(Activity.java:8570) E/JitsiMeetSDK(22430): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) E/JitsiMeetSDK(22430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150) E/JitsiMeetSDK(22430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325) E/JitsiMeetSDK(22430): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/JitsiMeetSDK(22430): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/JitsiMeetSDK(22430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574) E/JitsiMeetSDK(22430): at android.os.Handler.dispatchMessage(Handler.java:106) E/JitsiMeetSDK(22430): at android.os.Looper.loopOnce(Looper.java:226) E/JitsiMeetSDK(22430): at android.os.Looper.loop(Looper.java:313) E/JitsiMeetSDK(22430): at android.app.ActivityThread.main(ActivityThread.java:8762) E/JitsiMeetSDK(22430): at java.lang.reflect.Method.invoke(Native Method) E/JitsiMeetSDK(22430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) E/JitsiMeetSDK(22430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) E/JitsiMeetSDK(22430): Caused by: java.lang.VerifyError: Verifier rejected class com.oblador.performance.PerformanceModule: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMark): [0x27] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap E/JitsiMeetSDK(22430): void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric) failed to verify: void com.oblador.performance.PerformanceModule.emit(com.oblador.performance.PerformanceMetric): [0x30] register v1 has type Reference: com.facebook.react.bridge.WritableMap but expected Reference: com.facebook.react.bridge.ReadableMap (declaration of 'com.oblador.performance.PerformanceModule' appears in /data/app/~~EnEBZDBjhvxNXk4Em655tw==/com.tinqui-wI-QJNiAXzYmkiH3yqkurw==/base.apk!classes23.dex) E/JitsiMeetSDK(22430): at com.oblador.performance.PerformancePackage.(PerformancePackage.java:19) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.getReactNativePackages(ReactInstanceManagerHolder.java:90) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.ReactInstanceManagerHolder.initReactInstanceManager(ReactInstanceManagerHolder.java:256) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.JitsiMeetView.initialize(JitsiMeetView.java:201) E/JitsiMeetSDK(22430): at org.jitsi.meet.sdk.JitsiMeetView.(JitsiMeetView.java:102) E/JitsiMeetSDK(22430): ... 30 more I/Process (22430): Sending signal. PID: 22430 SIG: 9 Lost connection to device.

Currently I am using these version dependencies in my Project jitsi_meet_flutter_sdk: ^0.2.0 flutter_stripe: ^9.2.0

Biven-Codenomad commented 8 months ago

https://github.com/jitsi/jitsi-meet-flutter-sdk/issues/41#issue-2062799180

This is the same issue I am facing right now.

WinnieParton commented 5 months ago

I have this same problem. Somebody can be help me? i have Stripe in my projet and i want use Jitsi_meet_sdk