-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when Stripe library is used #37
Comments
Do you end up in the same situation with the sample app? |
sample app is working , now with ios devices also I am able to join meeting when I added required permissions in info.plist file. |
Can you send us the full logcat, please? |
@Calinteodor |
@Calinteodor D/OrientationModule( 4961): onActivityPaused Exited. |
@yash-pietech Hello! Any updates on this issue? |
@yash-pietech The real error is in these lines - 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 Workaround: 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. |
Hi everybody. |
@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. |
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 Could there be any solution to this issue? |
Are you also using the stripe plugin? |
yes, I am using |
After renaming the Stripe package, my console log errors got changed, here are my current logs: D/AndroidRuntime( 2955): Shutting down VM Now what will be the solution for this issue? |
Are you using ProGruard? What rules are you using? |
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: In my android app/build.gradle, this has been used:
|
Those are not proguard rules. Do you have some |
Do you have any other plugin dependencies which use React Native underneath? |
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 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 |
Are you able to reproduce the problem with our app sample?
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. |
****> 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:
What is the possible solution for this issue? I have stopped using I/ViewRootImpl@34e9549MainActivity: ViewPostIme pointer 0 Currently I am using these version dependencies in my Project |
This is the same issue I am facing right now. |
I have this same problem. Somebody can be help me? i have Stripe in my projet and i want use Jitsi_meet_sdk |
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 .
The text was updated successfully, but these errors were encountered: