From 992ff3f6d157d564f1dd64f61900356857addf7d Mon Sep 17 00:00:00 2001 From: Erik Eelde Date: Wed, 15 Feb 2023 23:17:10 +0100 Subject: [PATCH] Add privacy policy --- .github/dependabot.yml | 2 +- privacy_policy.md | 27 +++++++++++++++++++ toggles-app/src/main/AndroidManifest.xml | 2 -- .../se/eelde/toggles/TogglesApplication.kt | 15 +---------- .../res/drawable/ic_notification_24dp.xml | 25 ----------------- toggles-app/src/main/res/values/colors.xml | 1 - toggles-app/src/main/res/values/ids.xml | 4 --- toggles-app/src/main/res/values/strings.xml | 4 --- 8 files changed, 29 insertions(+), 51 deletions(-) create mode 100644 privacy_policy.md delete mode 100644 toggles-app/src/main/res/drawable/ic_notification_24dp.xml delete mode 100644 toggles-app/src/main/res/values/ids.xml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2a7f7cff..679952ca 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,7 @@ updates: directory: "/" # Location of package manifests schedule: interval: "daily" - open-pull-requests-limit: 20 + open-pull-requests-limit: 0 - package-ecosystem: "github-actions" # See documentation for possible values directory: "" # Location of package manifests schedule: diff --git a/privacy_policy.md b/privacy_policy.md new file mode 100644 index 00000000..07840625 --- /dev/null +++ b/privacy_policy.md @@ -0,0 +1,27 @@ +## Toggles: Privacy Policy + +This is an open source app developed by Erik Eelde. + +I hereby state, to the best of my knowledge and belief, that I have not programmed this app to +collect any personally identifiable information. All data created by the you (the user) is stored on +your device only, and can be simply erased by clearing the app's data or uninstalling it. + +It sends crashes to crashlytics to help fix crashes - I do not know how to delete that data. + +### Explanation of permissions requested in the app + +The list of permissions required by the app can be found in the `AndroidManifest.xml` file: + +https://github.com/erikeelde/toggles/blob/main/toggles-app/src/main/AndroidManifest.xml#L16-L17 + +| Permission | Why it is required | +| :---: |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `android.permission.INTERNET` | Needed to be able to send crashes to crashlytics. | +| `android.permission.KILL_BACKGROUND_PROCESSES` | Allows the app to try to kill your apps process and recreating with default parameters. I've found this to be helpful when you toggle singleton state in the application. | +| `android.permission.POST_NOTIFICATIONS` | Required since the app uses leak canary and I have been experimenting with adding notifications as a port of toggles UX. | + +If you find any security vulnerability that has been inadvertently caused by me, or have any +question regarding how the app protects your privacy, please post a discussion on GitHub, and I will +surely try to fix it/help you. + + diff --git a/toggles-app/src/main/AndroidManifest.xml b/toggles-app/src/main/AndroidManifest.xml index 375eb92c..a17f8f16 100644 --- a/toggles-app/src/main/AndroidManifest.xml +++ b/toggles-app/src/main/AndroidManifest.xml @@ -13,10 +13,8 @@ android:label="@string/toggles_permission_label" android:protectionLevel="normal" /> - - - - - - - - - diff --git a/toggles-app/src/main/res/values/colors.xml b/toggles-app/src/main/res/values/colors.xml index eeb509e5..45d39be7 100644 --- a/toggles-app/src/main/res/values/colors.xml +++ b/toggles-app/src/main/res/values/colors.xml @@ -1,7 +1,6 @@ #1E1A87 - @color/toggles_blue @color/toggles_blue #131061 #287F46 diff --git a/toggles-app/src/main/res/values/ids.xml b/toggles-app/src/main/res/values/ids.xml deleted file mode 100644 index cbd75e69..00000000 --- a/toggles-app/src/main/res/values/ids.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/toggles-app/src/main/res/values/strings.xml b/toggles-app/src/main/res/values/strings.xml index e47cdb6c..46a6ff00 100644 --- a/toggles-app/src/main/res/values/strings.xml +++ b/toggles-app/src/main/res/values/strings.xml @@ -17,10 +17,6 @@ Implementation save - %1$s - App toggled - Notifies that an app used toggles to configure a setting - Bubble activity label_reply hint_input sender_you