sharmadhiraj / installed_apps

Flutter plugin with utility methods related to installed apps on device.
https://pub.dev/packages/installed_apps
Apache License 2.0
23 stars 35 forks source link

installation guid link didnt work and rediret to pub.dev #9

Closed Abolfazl-MI closed 11 months ago

Abolfazl-MI commented 2 years ago

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(); } }

sharmadhiraj commented 11 months ago

I apologize for the delayed response. If you're facing such issues with a Flutter plugin, it could be due to accessing it during hot reload or hot restart. To resolve this, after importing the plugin, perform a full restart of the app by killing or stopping it in the IDE and then running it again.