Talk SDK leads to crash on Android 12

16 Commentaires

  • Commentaire officiel
    Mick O'Donnell
    Zendesk Product Manager

    Hi Omar,

    I'm a Product Manager in Zendesk. Apologies for the delay in taking action on this issue. We're going to focus on a fix for this and release a new version of the SDK. I can't share an exactly timeline just yet, but looking at the info in this post, the work is light enough. I'll update this post when we have an idea on the timeline. Thank you for your patience!

  • Eric Nelson
    Zendesk Developer Advocacy
    Hi Omar,

    Can you please see if you can replicate your issue using our sample application?
     
    Thanks!
    0
  • Omar Assidi

    Hi Eric,

    Thank you for your reply.

    I could not replicate the issue using your sample app. It works just fine on it, but I still don't get why it is not on mine. I am doing the same what the sample app does.

    0
  • Omar Assidi

    Hello Again,

    I managed to know the issue, and why it is working on the sample app, but not on mine.

    As of Android 12, we have to provide FLAG_IMMUTABLE or FLAG_MUTABLE to PendingIntent, which is not being done by the Talk SDK 1.1.0.

    The sample app has the targetSdkVersion and compiledSdkVersion = 30, Android 11. So, it is not even targeting android 12 features. However, my app targets 32, so it crashes.

    Below, I am attaching a video of the sample app crashing when I increase the compiled and target SDK versions to 32.

     

    https://we.tl/t-Q0QQh8XaUo

     java.lang.RuntimeException: Unable to start service zendesk.talk.android.internal.call.service.TalkCallService@839d3cf with Intent { cmp=com.zendesk.talk.sample/zendesk.talk.android.internal.call.service.TalkCallService (has extras) }: java.lang.IllegalArgumentException: com.zendesk.talk.sample: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
        Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline ...

    I hope to hear good news from you ASAP.

    Thank you.

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Omar, 

    Thanks for the additional information. I'll be meeting with the mobile dev team tomorrow to dig into this. As soon as I have any feedback / info - I'll let you know.
    0
  • Omar Assidi

    Thank you Eric. 

    Waiting for your reply.

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Omar, 

    The mobile dev team has spun up a card for this issue and are still digging into a fix for it. As soon as I have some more concrete information I'll update this thread.

    Thanks for your continued patience.
    0
  • Omar Assidi

    Hey Eric.

    Thank you for your response.

    I am wondering if we can expedite this . Our app is on the store, and people need to reach out to our support team. It's to our understanding that the fix can be as simple as (As of Android 12, we have to provide FLAG_IMMUTABLE or FLAG_MUTABLE to PendingIntent, which is not being done by the Talk SDK 1.1.0.), hope this helps.

     

    Thank you again

    0
  • Omar Assidi

    Hello Again Eric,

    I hope you are doing well.

    Any update on this?

    Thank you.

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Omar,

    I've just reached out to the mobile team to try and get an update on this. As soon as I get a response, I'll let you know.
     
    Thanks!
    0
  • Omar Assidi

    Hey Eric,

    Any updates on the issue?

     

    Thanks!

     

    0
  • Omar Assidi

    Hey Mick and Eric,

    I want to thank you for the response. I am waiting for your reply.

    In the mean time, my colleague in the team has opened 2 issues for IOS, but unfortunately, she was not able to hear from you back.

    I was wondering if you can help her out. These are the links for her tickets:

    1- https://support.zendesk.com/hc/en-us/community/posts/5114822029850-Issue-with-navigation-bar-title-on-iOS

     

    2- https://support.zendesk.com/hc/en-us/community/posts/4903848429338-Zendesk-Support-navigation-bar-color-on-Dark-Mode

     

    I appreciate your contribution.

     

    Thank you.

     

     

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Omar,

    No worries, I've went ahead and replied to your colleague. 

    Thanks
    0
  • Omar Assidi

    Hi Again Eric,

    Thank you for the reply.

    Any Updates on the issue?

    Thanks

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Omar, 

    What are you looking for an update on? The talk sdk issue? If so, Mick and the team will continue working on this and once the new sdk version is getting close to release, they'll communicate it here. Unfortunately we can't provide an eta at the moment. 
    0
  • Omar Assidi

    Hi Eric,

    yes, the talk sdk issue.

    No worries, I will be waiting for their reply here.

    Thank you.

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk