Skip to content

Conversation

@Jozys
Copy link
Collaborator

@Jozys Jozys commented May 5, 2025

🚀 Pull Request

Brief Description

This pull request removes, with sadness, the shown icons in the activities list due to the QUERY_ALL_PACKAGES not being allowed to be used in production for our use case.

GitHub Copilot Text

This pull request removes the usage of the installed_apps package and its related functionality due to restrictions on the QUERY_ALL_PACKAGES permission, which is not allowed for release on the Play Store. The most important changes include disabling the app icon fetching logic and removing the installed_apps dependency.

Removal of installed_apps functionality:

  • lib/utils/system_utils.dart: Disabled the getInstalledAppIcon method by commenting out the logic that fetches app icons using the installed_apps package. Added a comment explaining that the method is not usable in production due to Play Store restrictions on the QUERY_ALL_PACKAGES permission.

Dependency cleanup:

  • pubspec.yaml: Removed the installed_apps dependency (^1.5.2) since it is no longer used.

- This is due to QUERY_ALL_PACKAGES not being allowed to be used in production for our use case
@Jozys Jozys requested review from ScreepCode and Copilot May 5, 2025 07:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request removes the usage of the installed_apps package to comply with Play Store restrictions regarding the QUERY_ALL_PACKAGES permission. The changes include the removal of the dependency in pubspec.yaml and disabling the app icon fetching logic in the corresponding utility file.

Files not reviewed (1)
  • lib/utils/system_utils.dart: Language not supported

@Jozys Jozys merged commit 92f7670 into development May 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants