Skip to content

App usage tracker in system android with React Native Project

Notifications You must be signed in to change notification settings

opensource-direct/rn-app-usage-tracker

Repository files navigation

App Usage Tracker v1.0-beta

Log Aplikasi masih baru di Android, untuk iOS masih on ReSearch

Log Data Usage Activity

Berikut contoh data yang sudah berhasil diambil dari usage penggunaan activity pada Ponsel Android

 LOG  {
 "com.google.android.gms": {
  "appName": "Layanan Google Play",
  "packageName": "com.google.android.gms",
  "lastTimeUsed": 1715759957978,
  "firstTimeStamp": 1715678603628,
  "isSystem": false,
  "totalTimeInForeground": 21,
  "lastTimeStamp": 1715765003627
 },
 "com.burockgames.timeclocker": {
  "appName": "com.burockgames.timeclocker",
  "packageName": "com.burockgames.timeclocker",
  "lastTimeUsed": 1715761629904,
  "firstTimeStamp": 1715678603628,
  "isSystem": false,
  "totalTimeInForeground": 104,
  "lastTimeStamp": 1715765003627
 },
 "com.android.deskclock": {
  "appName": "Jam",
  "packageName": "com.android.deskclock",
  "lastTimeUsed": 1715630340415,
  "firstTimeStamp": 1715592200825,
  "isSystem": false,
  "totalTimeInForeground": 179,
  "lastTimeStamp": 1715678600824
 },
. . . .
// And more data

Dan berikut tampilannya

Copyright © 2024 Asep Septiadi. All right reserved. Powered by react-native-usage-stats-manager