Closed rooneyl closed 1 year ago
really I can't seem to be able to reproduce this issue, however looking at the stack trace it seems that it's because we are asking for service types which are not set in the manifest :
startForeground(notificationId, lastNotification, ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA | ServiceInfo.FOREGROUND_SERVICE_TYPE_MICROPHONE);
however the documentation shows that it's possible to use OR as shown in https://developer.android.com/guide/components/foreground-services#loc-camera-mic
<service ... android:foregroundServiceType="location|camera|microphone" />
Also the wording seems to indicate that it's related You can choose to limit access to a subset of the declared service types, as shown in the code snippets within the following sections.
I'll push forward an update in the uxkit library however it may be a bit delayed, in the meantime, you can override the service declared in the Cordova app so that the issue doesn't happen with something like
<config-file target="AndroidManifest.xml" parent="/manifest/application"> <service android:name="com.voxeet.uxkit.incoming.implementation.DefaultIncomingNotificationService" android:enabled="true" android:exported="false" android:foregroundServiceType="camera|microphone" /> </config-file>
is there a way to run both voxeet incoming call notification and firebase push notification?
Hey, @codlab , we are also experiencing this issue, the workaround suggested with v1.5.8 on capacitor 4 does work 🙏 . However the native invitation dialog does not disappear after accepting the call on android specially with the app opened/minimised/closed (we are reproducing on the following devices
Samsung A51 Android 12 Samsung Galaxy S8 Android 9
v1.5.9 has been released with the latest UXKit and its modifications
@weiz18 can you update and attach the logs from your app?
Hey, @codlab , with v1.5.9, we are having the following issue when trying to build on device
Caused by: java.lang.RuntimeException: Duplicate class com.voxeet.uxkit.common.BuildConfig found in modules jetified-uxkit-common-3.7.1-runtime (com.voxeet.sdk:uxkit-common:3.7.1) and jetified-uxkit-common-3.7.5-runtime (io.dolby:uxkit-common:3.7.5)
likely to be relics from the android's build folder. edit : maybe just the capacitor plugin for push notification, I just created a version 0.1.0 which changes the group for the uxkit library, should be fixing the issue
closing as the issue is fixed using the upgraded version of push notification 0.1.0
Describe the bug Application crashes when call invitation is received.
Expected Behaviour Should receive voip notification.
Steps to Reproduce the Problem on v1.5.8 initiate call invitation from web.
Then, cordova app crashes with
Specifications