Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
and put the privacy policy in the repository
  • Loading branch information
abdallahmehiz committed Oct 19, 2024
1 parent 3a752d8 commit 280ead0
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 21 deletions.
23 changes: 14 additions & 9 deletions app/src/main/java/live/mehiz/mpvkt/ui/preferences/AboutScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ object AboutScreen : Screen() {
id = R.string.pref_about_app_version_formatted,
BuildConfig.BUILD_TYPE.replaceFirstChar { it.uppercaseChar() },
BuildConfig.VERSION_NAME,
)
),
)
},
onClick = {
Expand All @@ -105,6 +105,17 @@ object AboutScreen : Screen() {
title = { Text(text = stringResource(id = R.string.pref_about_oss_libraries)) },
onClick = { navigator.push(LibrariesScreen) },
)
Preference(
title = { Text(text = stringResource(id = R.string.pref_about_privacy_policy)) },
onClick = {
context.startActivity(
Intent(
Intent.ACTION_VIEW,
Uri.parse(context.getString(R.string.privacy_policy_url)),
),
)
},
)
}
Row(
Modifier.fillMaxWidth(),
Expand Down Expand Up @@ -133,15 +144,9 @@ object LibrariesScreen : Screen() {
Scaffold(
topBar = {
TopAppBar(
title = {
Text(text = stringResource(R.string.pref_about_oss_libraries))
},
title = { Text(text = stringResource(R.string.pref_about_oss_libraries)) },
navigationIcon = {
IconButton(
onClick = {
navigator.pop()
},
) {
IconButton(onClick = navigator::pop) {
Icon(imageVector = Icons.AutoMirrored.Default.ArrowBack, contentDescription = null)
}
},
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
<string name="pref_about_app_version">App version</string>
<string name="pref_about_app_version_formatted" translatable="false">%s %s</string>
<string name="pref_about_oss_libraries">Open source libraries</string>
<string name="pref_about_privacy_policy">Privacy policy</string>

<string name="player_sheets_add_ext_sub">Add external subtitles</string>
<string name="player_sheets_add_ext_audio">Add external audio tracks</string>
Expand Down Expand Up @@ -208,6 +209,7 @@
<string name="value_percentage_float" translatable="false">%.2f\%%</string>

<string name="github_repo_url" translatable="false">https://github.com/abdallahmehiz/mpvKt</string>
<string name="privacy_policy_url" translatable="false">https://abdallahmehiz.github.io/mpvKt/privacy_policy.html</string>
<string name="control_player_with_media_buttons">Control player with media buttons</string>
<string name="swap_the_volume_and_brightness_slider">Swap volume and brightness slider</string>
<string name="hide_player_control_time">Hide player control time</string>
Expand Down
44 changes: 44 additions & 0 deletions docs/privacy_policy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy - mpvKt</title>
</head>
<body>
<h1>Privacy Policy for mpvKt</h1>
<p>
Welcome to mpvKt, a media player based on mpv-android. We value your privacy and are committed to
protecting it. This Privacy Policy outlines our current practices regarding the collection, use,
and disclosure of your information when you use our application.
</p>

<h2>Data Collection</h2>
<p>
At this time, mpvKt does not collect, store, or process any personal data or information from its
users. We believe in providing a seamless and private media playback experience.
</p>

<h2>Changes to This Privacy Policy</h2>
<p>
While we currently do not collect any data, we reserve the right to change our data collection
practices and this Privacy Policy at any time. Any changes will be posted on this page with an
updated effective date. We encourage you to review this Privacy Policy periodically for any
updates or changes.
</p>

<h2>Contact Us</h2>
<p>
If you have any questions or concerns about this Privacy Policy, please contact us at
abdallahmehiz0@gmail.com.
</p>

<h2>Effective Date</h2>
<p>This Privacy Policy is effective as of Aug 8th 2024.</p>

<p>
By using mpvKt, you acknowledge that you have read and understood this Privacy Policy. Thank you
for choosing mpvKt.
</p>
</body>
</html>
24 changes: 12 additions & 12 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[versions]
agp = "8.5.2"
kotlin = "2.0.0"
agp = "8.7.1"
kotlin = "2.0.21"
coreKtx = "1.13.1"
lifecycleRuntimeKtx = "2.8.5"
activityCompose = "1.9.2"
composeBom = "2024.09.01"
koin = "4.0.0-RC2"
voyager = "1.0.0"
lifecycleRuntimeKtx = "2.8.6"
composeBom = "2024.10.00"
activityCompose = "1.9.3"
koin = "4.0.0"
voyager = "1.1.0-beta03"
material3Android = "1.3.0"
room = "2.6.1"
detekt = "1.23.6"
detekt = "1.23.7"
about-libs = "11.2.3"

[libraries]
Expand All @@ -23,7 +23,7 @@ androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
androidx-material3-android = { group = "androidx.compose.material3", name = "material3-android", version.ref = "material3Android" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.7.0" }
androidx-material3-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended", version = "1.7.1" }
androidx-material3-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended", version = "1.7.4" }
androidx-compose-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout-compose", version = "1.0.1" }
androidx-compose-animation-graphics = { group = "androidx.compose.animation", name = "animation-graphics-android" }
androidx-preferences-ktx = { group = "androidx.preference", name = "preference-ktx", version = "1.2.1" }
Expand Down Expand Up @@ -52,21 +52,21 @@ detekt-gradle-plugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plu
detekt-formatter = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt"}
detekt-rules-compose = { module = "io.nlopez.compose.rules:detekt", version = "0.4.10" }

kotlinx-immutable-collections = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version = "0.3.7" }
kotlinx-immutable-collections = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version = "0.3.8" }

truetype-parser = { module = "io.github.yubyf:truetypeparser-light", version = "2.1.4" }
fsaf = { module = "com.github.K1rakishou:Fuck-Storage-Access-Framework", version = "1.1.3" }

about-libs-core = { module = "com.mikepenz:aboutlibraries-core", version.ref = "about-libs" }
about-libs-ui-m3 = { module = "com.mikepenz:aboutlibraries-compose-m3", version.ref = "about-libs" }
simple-icons = { module = "br.com.devsrsouza.compose.icons:simple-icons", version = "1.1.0" }
simple-icons = { module = "br.com.devsrsouza.compose.icons:simple-icons", version = "1.1.1" }
[bundles]
koin = ["koin-core", "koin-android", "koin-compose"]
voyager = ["voyager-navigator", "voyager-transitions"]
about-libs = ["about-libs-core", "about-libs-ui-m3"]

[plugins]
ksp = { id = "com.google.devtools.ksp", version = "2.0.0-1.0.23" }
ksp = { id = "com.google.devtools.ksp", version = "2.0.21-1.0.25" }
android-application = { id = "com.android.application", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
Expand Down

0 comments on commit 280ead0

Please sign in to comment.