sharmadhiraj / installed_apps Goto Github PK
View Code? Open in Web Editor NEWFlutter plugin with utility methods related to installed apps on device.
Home Page: https://pub.dev/packages/installed_apps
License: Apache License 2.0
Flutter plugin with utility methods related to installed apps on device.
Home Page: https://pub.dev/packages/installed_apps
License: Apache License 2.0
Hi,
The uninstallApp
function returns true directly on the confirmation dialog.
At that point, the app isn't uninstalled yet (the user hasn't even confirmed it yet).
Flow should probably be something like this:
Regards,
I have a problem when using the installed_apps plugin in flutter which has the android.permission.QUERY_ALL_PACKAGES permission for accurate location in our application. We prioritize privacy and security, using permissions to store accurate geotagging data, which is critical to our Quality Assurance KPIs.
For projects using AGP > 8.2, all build.gradle files(including ones in plugins) are required to have a namespace. If a namespace is missing in any plugin, the following error is seen
Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Why not for IOS
Can you add uninstall app features for this package?. I think it might be suitable solution for adding this feature https://www.semicolonworld.com/question/45412/install-uninstall-apks-programmatically-packagemanager-vs-intents
Fatal Exception: android.content.pm.PackageManager$NameNotFoundException: vpn.video.downloader
Whenever I call
InstalledApps.getInstalledApps(true, true)
The console is filled with warning:
...
W/System (22492): A resource failed to call close.
W/System (22492): A resource failed to call close.
W/System (22492): A resource failed to call close.
...
The function works flawlessly though
.pub-cache/hosted/pub.dartlang.org/installed_apps-1.3.0/android/src/main/kotlin/com/sharmadhiraj/installed_apps/InstalledAppsPlugin.kt: (39, 41): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
add InstalledApps.isExist(packageName) or InstalledApps.isInstalled(packageName) to now if app was found in the system
Fatal Exception: java.lang.ClassCastException: android.graphics.drawable.VectorDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
I'm having trouble showing the icon(Uint8List) in the format they provide
Hello,
any plans to add support for iOS?
Best regards,
After updating to Android 11 on my device, InstalledApps.getInstalledApps(false, false, myPrefix)
is empty for myPrefix. Before the update, it worked and yielded the correct app(s) with the given prefix. The update was the only change on the device, no apps have been removed or changed.
look like the source i had wite an function to get apps but that gives me
Exception has occurred.
MissingPluginException (MissingPluginException(No implementation found for method getInstalledApps on channel installed_apps))
my code is this
class AppController extends GetxController {
List appInstalled = [];
@OverRide
void onInit() async {
super.onInit();
devloper.log('|ON IN IT HAD CALLED|');
appInstalled = await InstalledApps.getInstalledApps(true, true);
update();
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.