azure-sdk-for-android icon indicating copy to clipboard operation
azure-sdk-for-android copied to clipboard

[BUG] Hardened builds do not work since 1.14.1-beta.1

Open iAmMONK opened this issue 3 months ago • 1 comments

Describe the bug Hardened builds do not work since 1.14.1-beta.1. Also tested on 1.15.0-beta.1. The CallAgent seems to fail at creation.

Current proguard rules:

-keep class com.skype.rt.** {*;}
-keep class com.azure.** {*;}
-keep class com.skype.android.** {*;}
-keep class com.microsoft.media.** {*;}
-keep class com.microsoft.dl.** {*;}
-keep class com.microsoft.trouterclient.** {*;}
-keep class com.fasterxml.jackson.databind.deser.** { *; }
-keep class com.ctc.wstx.stax.** { *; }
-keepresourcefiles lib/**/libc++_shared.so
-keepresourcefiles lib/**/libskypert.so

Exception or Stack Trace

[#fdb655b8-S] T#29341 S.18 [ERROR] [skyper.Aria] fdb655b8: 
[#feb26955-S] T#29341 S.18 [ERROR] [skyper.Aria] feb26955: 
[#00000000-S] T#29665 [ERROR] [azure-communication-services.calling] @b4000073386f6690: CreateCallAgentInternal exit

Code Snippet

        val callClient = CallClient()
        val commCredentialToken = CommunicationTokenCredential(sessionToken)

        callAgent = callClient.createCallAgent(context, commCredentialToken)
            .get()

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: Android 15
  • IDE : [e.g. IntelliJ]
  • Version of the Library used 1.15.0-beta.1

Additional context Add any other context about the problem here.

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [X] Bug Description Added
  • [X] Repro Steps Added
  • [X] Setup information Added

iAmMONK avatar Oct 10 '25 08:10 iAmMONK