Is there any way to access the details of apps installed in the device and access its privacy permission details (ex: how much access the GMAIL have in our device?) from the flutter app?
At this time there no official library available to retrieve the packages installed in the device. You can check the unofficial plugin, package manager plugin in pub.dev.
Some of the limitations are ..
But you can give it a try if those constraints are fine for you.
Sample usage
import 'package:flutter_package_manager/flutter_package_manager.dart';
Future<List> getInstalledPackages() async {
List packages = await FlutterPackageManager.getInstalledPackages();
return packages;
}
You can try a package named device_apps.
It is a plugin to list installed applications on an Android device (⚠️ iOS is not supported).
Check this
You can get
Note : Though it was better then other packages , I found that it takes a lot of time (10-15sec) to intract with the Android system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With