Closed Djihanegh closed 2 years ago
To update it frequently, you may call the method using Timer for e.g:
Timer.periodic(const Duration(seconds: 5), fetchQueryStats());
where fetchQueryStats is a function that loads data. This way after every 5 seconds the data will be refreshed.
Hello,
I"am using this plugin to get stats about the apps on android device, when i open Youtube app for example, it doesn't update the getLastUsed to the last real opened time ! for example if i opened it at 10AM then i open youtube again in 11AM (while the app is running) here it doesnt get updated it returns 10AM...
any solution to that ?