Due to " Package visibility in Android 11", I can't get a list of all installed apps, not even directly querying with the package name. All connections to other apps must be set into the androidmanifest.
Many "package manager" extensions exist, but the ones which work, only work in the companion app. In the apk version, only basic apps are "shown" (calc, camera etc) thus I can't find any way to connect my apps, to check if another app is installed and which version. This is important for me because I'm developing an "app store" application, and I need to monitor which apps are installed and which version they are in, for possible updates. Would anyone say something?
tl;dr Is there some way to actually get a list of all installed apps (in API 30)? Is there some way to get the version of an installed app?