-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
29 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 1 addition & 14 deletions
15
toggles-app/src/main/java/se/eelde/toggles/TogglesApplication.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
package se.eelde.toggles | ||
|
||
import android.app.Application | ||
import androidx.hilt.work.HiltWorkerFactory | ||
import androidx.work.Configuration | ||
import dagger.hilt.android.HiltAndroidApp | ||
import javax.inject.Inject | ||
|
||
@HiltAndroidApp | ||
class TogglesApplication : Application(), Configuration.Provider { | ||
|
||
@Inject | ||
lateinit var workerFactory: HiltWorkerFactory | ||
|
||
override fun getWorkManagerConfiguration(): Configuration { | ||
return Configuration.Builder() | ||
.setWorkerFactory(workerFactory) | ||
.build() | ||
} | ||
} | ||
class TogglesApplication : Application() |
25 changes: 0 additions & 25 deletions
25
toggles-app/src/main/res/drawable/ic_notification_24dp.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters