QUERY_ALL_PACKAGES permissions

Hello,

We received and email from Google in which they informed us that the QUERY_ALL_PACKAGES parameter usage is not accepted any more, please see below:

Issue found: Less broad app-visibility method should be used

We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because the declared task can be done with a less broad app-visibility method.

When analyzing our code, that parameter seems to be apart of the comet-chat calls plugin. We tried upgrading our app to the latest cometchat plugins but the QUERY_ALL_PACKAGES persmission it’s still there.

We also tried to just remove this permission from Android Studio after building our Ionic app, but the CometChat functionality seems incomplete now, specifically the calls seem affected.

Do you have an plugin version that we can use that is free of the no longer supported QUERY_ALL_PACKAGES intent or do you plan to release a version bu July 2022 which is our deadline for the QUERY_ALL_PACKAGES permission from Google?

Thank you,
Mihaela

Hi @mihaelac,

Can you please confirm if you are using the CometChat Capacitor Calls Plugin (@cometchat-pro/ionic-calls) or the React Native Calls Plugin (@cometchat-pro/react-native-chat)? Also, can you please let us know the version of the Calls SDK you are facing this issue in?

Warm Regards,

CometChat
Mayur Bhandari

Hello @mayur.bhandari ,

Thank you for the quick reply!

We use the CometChat Capacitor Calls Plugin (@cometchat-pro/ionic-calls).

The problem seems to occur on both @cometchat-pro/ionic-calls@2.2.0 and @cometchat-pro/ionic-calls@2.1.1.

Best regards,
Mihaela

Hi @mihaelac,

We are able to reproduce this issue on our end and we are working on it. It will be fixed in the upcoming release. We will update you once we release the fix for the same.

Warm Regards,

CometChat
Mayur Bhandari

Thank you @mayur.bhandari!

Best regards,
Mihaela

Hello,

Do you have any updates in regards to the new release without the Query_All_Packages or do you have an ETA for us?

Thank you,
Mihaela

Hello,

If we just remove the permission will this work?

Best regards,
Mihaela

Hi @mihaelac,

We have fixed this issue in the latest version of our SDK. Please update the Chat SDK to 3.0.8 & Calls SDK to 2.2.1.

This should solve the issue you have been facing. Hope this helps.

Warm Regards,

Mayur Bhandari

Hello @mayur.bhandari,

Thank you for the update, this is great news!

Best regards,
Mihaela

1 Like

Hello,

We have upgraded the app to use “Chat SDK to 3.0.8 & Calls SDK to 2.2.1.” as suggested, but when uploading the app to the Google Play store we are still flagged as using the Query_All_Packages permissions. Please see below:

We noticed that Calls SDK 2.2.1 is referencing Calls SDK 2.2.0, the latter having the Query_All_Packages flag.

Is there anything that we are doing incorrect? If so please point us into the right direction.

Best regards,
Mihaela

hi @mihaelac

We have fixed this issue in the latest version of our SDK. Please update the Chat SDK to 3.0.8 & Calls SDK to 2.2.2-beta1.

This should solve the issue you have been facing. Hope this helps.

Warm Regards,
Jitvar Patil

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.