jitsi-meet
jitsi-meet copied to clipboard
runtime java lang exception error unable to start service
java.lang.RuntimeException: Unable to start service org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService@2970c3f with Intent { cmp=com.kalla.neyuktadentasoft2019.conferencecall/org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService (has extras) }: java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=JitsiOngoingConferenceChannel pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=call actions=2 vis=PUBLIC)
What SDK version are you using?
implementation ('org.jitsi.react:jitsi-meet-sdk:6.0.0') { transitive = true }
implementation ('org.jitsi.react:jitsi-meet-sdk:5.1.0') { transitive = true } working fine
Tq for the great job
Invalid notification (no valid small icon)
@tmoldovan8x8 should we have this set in the SDK?
I kind of feel that this should be an app thing. Maybe we could set a default one in the SDK, but the notification icon is more something the app should customise.
Makes sense, but why did the previous SDK work then?
I kind of feel that this should be an app thing. Maybe we could set a default one in the SDK, but the notification icon is more something the app should customise.
Excuse me, how to implement the notification icon with the android sdk? my application is also crash with that error. Thank you.
For Android SDK v 6.0.0
java.lang.RuntimeException: Unable to start service org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService@8895689 with Intent { cmp=com.xxxxxxxxx.xxxxxxxxxxxxx/org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService (has extras) }: java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=JitsiOngoingConferenceChannel pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=call actions=2 vis=PUBLIC)
How to fix this? please let me know
You need to set an icon for the ongoing notification.
We might add a placeholder in a future version, but you likely want to customize it anyway.
You need to set an icon for the ongoing notification.
We might add a placeholder in a future version, but you likely want to customize it anyway.
How to do that? There is no doc available to add it from the native SDK
See https://github.com/jitsi/jitsi-meet-sdk-samples/commit/ad225b08b137794bc55dde291619667d1a2bfd25
It's a resource called ic_notification
it used to silently fail but it now crashes.
I found the fix, do steps below @tirumalarajajee @vishnu-simplecrm
- Right click on res folder in android project and choose image asset from new section
- Create icon with following config
Name:
ic_notification
Icon Type:Notification Icons
I found the fix, do steps below @tirumalarajajee @vishnu-simplecrm
1. Right click on res folder in android project and choose image asset from new section 2. Create icon with following config Name: `ic_notification` Icon Type: `Notification Icons`
This really worked, thank you so much!
I found the fix, do steps below @tirumalarajajee @vishnu-simplecrm
- Right click on res folder in android project and choose image asset from new section
- Create icon with following config Name:
ic_notification
Icon Type:Notification Icons
Thanks Man My Error also Fixed
2. ic_notification
thanks buddy its worked for me. Fixed
@spidi123q oh my god. thank you very much!!!
Am using flutter, how do I create that icon in android studio or vscode @spidi123q @vlad909 @itsVnp Thank you
I found the fix, do steps below @tirumalarajajee @vishnu-simplecrm
- Right click on res folder in android project and choose image asset from new section
- Create icon with following config Name:
ic_notification
Icon Type:Notification Icons
Amazing it worked Thanks man...
Am using flutter, how do I create that icon in android studio or vscode @spidi123q @vlad909 @itsVnp Thank you
did you find a solution for flutter?
@saghul its works fine after adding ic_notification icon for debug mode but When I do it on release mode or release apk its get crashed and I don't know how to provide any logcat or any error message from release mode
Am using flutter, how do I create that icon in android studio or vscode @spidi123q @vlad909 @itsVnp Thank you
did you find a solution for flutter?
Open the project in the file Explore and there you can do it (Like create a new folder in res folder add your desire icon) it will ask for XML format of the image
What SDK version are you using? The latest has a placeholder icon.
<uses-sdk tools:overrideLibrary="dev.saibotma.jitsi_meet_wrapper, org.jitsi.meet.sdk, co.apptailor.googlesignin, com.calendarevents, com.reactnativecommunity.asyncstorage, com.reactnativecommunity.netinfo, com.rnimmersive, com.corbt.keepawake, com.BV.LinearGradient, com.horcrux.svg, com.oney.WebRTCModule, com.ocetnik.timer, com.kevinresol.react_native_default_preference, com.learnium.RNDeviceInfo, com.amplitude.reactnative, com.reactnativegooglesignin, com.reactnativecommunity.clipboard, com.swmansion.gesturehandler.react, org.linusu, org.reactnative.maskedview, com.reactnativepagerview, com.oblador.performance, com.swmansion.reanimated, com.th3rdwave.safeareacontext, com.swmansion.rnscreens, com.reactnativecommunity.slider, org.devio.rn.splashscreen, com.brentvatne.react, com.reactnativecommunity.webview"/>
<meta-data android:name="com.gunschu.jitsi_meet_example" android:resource="@mipmap/ic_launcher" />
` defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.CalkTalk" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 24 targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName // multiDexEnabled true }
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// runProguard false
// minifyEnabled true // useProguard true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }`
What SDK version are you using? The latest has a placeholder icon.
What ADK version does that wrapper wrap?
From Where I Can Find That I just followed the documentation of it https://pub.dev/packages/jitsi_meet_fix I didn't do anything for iOS I just need to deliver The android right now as soon as possible
You need to ask the plugin authors, we didn't write it.