freshworks / marketplace-sample-apps

Repository of sample codes demonstrating usage of SDK and APIs on the Freshworks developer platform. :link: https://developers.freshworks.com
124 stars 270 forks source link

[Bug] - Crash Android FLAG_IMMUTABLE android 12 #360

Closed tspoke closed 2 years ago

tspoke commented 2 years ago

Describe the bug On android 12 when receiving a notification the call to consume() make the app crash

To Reproduce Steps to reproduce the behavior:

  1. Send a message with freshchat web admin
  2. Consume it on Android with any version of your SDK
  3. CRASH

Additional context You need to implement the new FLAG_IMMUTABLE when using PendingIntent : https://developer.android.com/guide/components/intents-filters#DeclareMutabilityPendingIntent

ravirajsubramanian commented 2 years ago

Hi @tspoke,

This repository serves as sample applications built on Freshworks Developer Platform to publish apps on the Freshworks Marketplace. Please report your issue on Freshchat support page.

tspoke commented 2 years ago

Hi @ravirajsubramanian,

I know, sorry for that but I wrote to the support and they didn't understand. Here I was sure to talk to a developer ;)

ravirajsubramanian commented 2 years ago

Ah got it. Please ask the support agent to redirect the issue to Freshchat mobile engineering team and convey it's an issue report on Freshchat Andriod SDK. They will be able to redirect to a development team who can understand your bug report and confirm if it's a bug or provide alternatives if available.

Could you share the ticket link here so I can try redirecting internally?

Thank you for taking the effort to report a bug.

tspoke commented 2 years ago

I contacted them on Facebook, and for now the agent didn't understand the issue :D So I don't have an open ticket, but I think you can forward this github issue directly ? Thanks a lot !