[PR #157] [MERGED] Fixing issues with the SendStatisticsWorker #180

Closed
opened 2026-02-26 21:32:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/seemoo-lab/AirGuard/pull/157
Author: @Sn0wfreezeDev
Created: 11/14/2023
Status: Merged
Merged: 11/14/2023
Merged by: @Sn0wfreezeDev

Base: mainHead: send_stats_fix


📝 Commits (7)

  • 55697ae Adding new API endpoint that deletes study data for a specific user
  • d703944 Setting request to DELETE method
  • 774c063 Working on fixing SendStatisticsWorker
  • 0f58ccf Changing proguard rules
  • 6a1ab26 Updating version name and code
  • 8589fd0 Reducing duplicate devices uploads
  • 45cea2c F-Droid 2.1.1 Release

📊 Changes

14 files changed (+102 additions, -23 deletions)

View changed files

📝 api.properties (+1 -1)
📝 app/build.gradle (+2 -2)
📝 app/proguard-rules.pro (+11 -0)
📝 app/src/main/java/de/seemoo/at_tracking_detection/database/daos/DeviceDao.kt (+1 -1)
📝 app/src/main/java/de/seemoo/at_tracking_detection/database/relations/DeviceBeaconNotification.kt (+2 -2)
📝 app/src/main/java/de/seemoo/at_tracking_detection/database/repository/DeviceRepository.kt (+1 -2)
📝 app/src/main/java/de/seemoo/at_tracking_detection/hilt/ApiModule.kt (+8 -2)
📝 app/src/main/java/de/seemoo/at_tracking_detection/statistics/SendStatisticsWorker.kt (+49 -11)
📝 app/src/main/java/de/seemoo/at_tracking_detection/statistics/api/Api.kt (+11 -0)
📝 app/src/main/java/de/seemoo/at_tracking_detection/ui/debug/DebugFragment.kt (+1 -1)
📝 app/src/main/java/de/seemoo/at_tracking_detection/util/ble/BLEScanner.kt (+1 -1)
📝 app/src/main/java/de/seemoo/at_tracking_detection/worker/BackgroundWorkBuilder.kt (+7 -0)
📝 app/src/main/java/de/seemoo/at_tracking_detection/worker/BackgroundWorkScheduler.kt (+6 -0)
📝 app/src/main/java/de/seemoo/at_tracking_detection/worker/WorkerConstants.kt (+1 -0)

📄 Description

The app was no longer able to send statistics due to a Proguard rule missing for the newest Proguard version.
Further fixes:

  • Avoiding duplicate uploads to save data transmissions

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/seemoo-lab/AirGuard/pull/157 **Author:** [@Sn0wfreezeDev](https://github.com/Sn0wfreezeDev) **Created:** 11/14/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@Sn0wfreezeDev](https://github.com/Sn0wfreezeDev) **Base:** `main` ← **Head:** `send_stats_fix` --- ### 📝 Commits (7) - [`55697ae`](https://github.com/seemoo-lab/AirGuard/commit/55697ae2b3f273b373d76933fdee9c4ff028c0dd) Adding new API endpoint that deletes study data for a specific user - [`d703944`](https://github.com/seemoo-lab/AirGuard/commit/d70394492c20bdf8107fc95c23c854d47f653da8) Setting request to DELETE method - [`774c063`](https://github.com/seemoo-lab/AirGuard/commit/774c063efc16d42faa6f92e06cbf4e962476ab79) Working on fixing SendStatisticsWorker - [`0f58ccf`](https://github.com/seemoo-lab/AirGuard/commit/0f58ccf0ccad00ade6e4b5fe39f46b01eb5b91b0) Changing proguard rules - [`6a1ab26`](https://github.com/seemoo-lab/AirGuard/commit/6a1ab262344266990e1e82a4bb5413530ac175ee) Updating version name and code - [`8589fd0`](https://github.com/seemoo-lab/AirGuard/commit/8589fd00197cf89bed15c0c23c8fcba082598fc2) Reducing duplicate devices uploads - [`45cea2c`](https://github.com/seemoo-lab/AirGuard/commit/45cea2cffffb44d4327b6a2509aca7d792ba6163) F-Droid 2.1.1 Release ### 📊 Changes **14 files changed** (+102 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `api.properties` (+1 -1) 📝 `app/build.gradle` (+2 -2) 📝 `app/proguard-rules.pro` (+11 -0) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/database/daos/DeviceDao.kt` (+1 -1) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/database/relations/DeviceBeaconNotification.kt` (+2 -2) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/database/repository/DeviceRepository.kt` (+1 -2) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/hilt/ApiModule.kt` (+8 -2) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/statistics/SendStatisticsWorker.kt` (+49 -11) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/statistics/api/Api.kt` (+11 -0) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/ui/debug/DebugFragment.kt` (+1 -1) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/util/ble/BLEScanner.kt` (+1 -1) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/worker/BackgroundWorkBuilder.kt` (+7 -0) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/worker/BackgroundWorkScheduler.kt` (+6 -0) 📝 `app/src/main/java/de/seemoo/at_tracking_detection/worker/WorkerConstants.kt` (+1 -0) </details> ### 📄 Description The app was no longer able to send statistics due to a Proguard rule missing for the newest Proguard version. Further fixes: * Avoiding duplicate uploads to save data transmissions --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:32:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AirGuard#180
No description provided.