linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Linphone Android SDK Android 14 Issue


From: Technical Gujjuji
Subject: [Linphone-developers] Linphone Android SDK Android 14 Issue
Date: Tue, 10 Sep 2024 09:06:14 +0530

Dear Team,

The following crash comes when my dialer using Linphone runs on the devices running Android 14.

I have already followed the latest branch code regarding Foreground Permission for Microphone as well as the Service Type with Call and Microphone based on the permissions of Record Audio and implemented SDK 5.3.78

But it's still not working and giving the error as below:

[API 34 Compatibility] Can't start service as foreground! java.lang.SecurityException: Starting FGS with type microphone callerApp=ProcessRecord{1baafcc 12047:com.techgujju.mydialer/u0a221} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_MICROPHONE] any of the permissions allOf=false [android.permission.CAPTURE_AUDIO_HOTWORD, android.permission.CAPTURE_AUDIO_OUTPUT, android.permission.CAPTURE_MEDIA_OUTPUT, android.permission.CAPTURE_TUNER_AUDIO_INPUT, android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT, android.permission.RECORD_AUDIO]  and the app must be in the eligible state/exemptions to access the foreground only permission

Looking forward to the solution/guidance on this i'm stuck on this before my release.

Thanks & Regards,
Technical Gujjuji 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]