Skip to content

Commit 98c89c3

Browse files
committed
build: add release signing config + docs: privacy policy
1 parent afadcb6 commit 98c89c3

4 files changed

Lines changed: 75 additions & 2 deletions

File tree

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,11 @@ replay_pid*
9191
# Room schema exports should be committed for migration tracking
9292
!app/schemas/
9393

94+
#DIRENV
95+
.envrc
96+
9497
# Claude
95-
.claude
98+
.claude
99+
100+
# Goolge Play Console
101+
noiseguard-release.jks

app/build.gradle.kts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,24 @@ android {
1919
testInstrumentationRunner = "com.marcodomingues.noiseguard.HiltTestRunner"
2020
}
2121

22+
signingConfigs {
23+
create("release") {
24+
storeFile = file("../noiseguard-release.jks")
25+
storePassword = System.getenv("KEYSTORE_PASSWORD") ?: ""
26+
keyAlias = "noiseguard"
27+
keyPassword = System.getenv("KEY_PASSWORD") ?: ""
28+
}
29+
}
30+
2231
buildTypes {
2332
release {
24-
isMinifyEnabled = false
33+
isMinifyEnabled = true
34+
isShrinkResources = true
35+
signingConfig = signingConfigs.getByName("release")
36+
proguardFiles(
37+
getDefaultProguardFile("proguard-android-optimize.txt"),
38+
"proguard-rules.pro"
39+
)
2540
}
2641
}
2742

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# NoiseGuard
2+
3+
Real-time ambient noise monitoring for Android.
4+
5+
---
6+
7+
- [Privacy Policy](privacy-policy)
8+
- [GitHub Repository](https://github.com/MarkADom/NoiseGuard)

docs/privacy-policy.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# NoiseGuard — Privacy Policy
2+
3+
*Last updated: May 2026*
4+
5+
---
6+
7+
## English
8+
9+
### What NoiseGuard does
10+
NoiseGuard measures ambient noise levels in real time using your device's microphone. That's it.
11+
12+
### What data we collect
13+
**Nothing that leaves your device.**
14+
15+
- **Noise readings** (decibel levels + timestamps) are stored locally in a database on your device.
16+
- **No audio is ever recorded.** The microphone is used only to calculate a noise level number. Raw audio is processed in memory and immediately discarded.
17+
- **No personal data** is collected — no name, no email, no location, no device identifiers.
18+
- **No analytics, no crash reporting, no advertising SDKs.**
19+
20+
### How data is stored
21+
All data stays on your device. NoiseGuard has no servers, no cloud storage, and no internet connection. Your noise history never leaves your phone.
22+
23+
### How to delete your data
24+
Open NoiseGuard → Settings → Clear History. This permanently deletes all stored readings from your device.
25+
26+
Uninstalling the app also removes all data.
27+
28+
### Permissions
29+
- **Microphone (RECORD_AUDIO)** — required to measure noise levels. Without this permission the app cannot function.
30+
- **Notifications (POST_NOTIFICATIONS)** — optional. Used only to alert you when noise exceeds your configured threshold.
31+
32+
### Third parties
33+
NoiseGuard does not share any data with third parties. There are no third-party SDKs that collect data.
34+
35+
### Children
36+
NoiseGuard does not knowingly collect data from children under 13. The app collects no personal data from anyone.
37+
38+
### Changes
39+
If this policy changes, the updated version will be posted at this URL with a new date.
40+
41+
### Contact
42+
Questions? Reach us at: marcodomingues.dev@gmail.com
43+
44+
---

0 commit comments

Comments
 (0)