Skip to content

Commit

Permalink
🔖 tv2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxieyoulei committed Sep 13, 2024
1 parent afe18b0 commit f914c48
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 46 deletions.
10 changes: 10 additions & 0 deletions .idea/deviceManager.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# 更新日志

## [2.2.2] - 2024-09-13

### 修复

- 修复Android10文件权限
- 修复触摸设备频道列表闪退
- 跟换默认epg地址


## [2.2.1] - 2024-08-27

### 新增
Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ androidasync = "3.1.0"
compose-foundation = "1.7.0-beta07"
tvMaterial = "1.0.0-rc01"
navigationCompose = "2.7.7"
sentry = "4.11.0"
minSdk = "21"
targetSdk = "34"
compileSdk = "34"
Expand Down Expand Up @@ -65,4 +64,3 @@ compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
android-library = { id = "com.android.library", version.ref = "agp" }
sentry-android-gradle = { id = "io.sentry.android.gradle", version.ref = "sentry" }
3 changes: 1 addition & 2 deletions tv/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.compose)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.sentry.android.gradle)
}

android {
Expand All @@ -20,7 +19,7 @@ android {
minSdk = libs.versions.minSdk.get().toInt()
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 2
versionName = "2.2.1"
versionName = "2.2.2"
vectorDrawables {
useSupportLibrary = true
}
Expand Down
31 changes: 0 additions & 31 deletions tv/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,37 +70,6 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>

<!-- Required: set your sentry.io project identifier (DSN) -->
<meta-data
android:name="io.sentry.dsn"
android:value="https://[email protected]/4507455918309376" />

<!-- enable automatic breadcrumbs for user interactions (clicks, swipes, scrolls) -->
<meta-data
android:name="io.sentry.traces.user-interaction.enable"
android:value="true" />
<!-- enable screenshot for crashes -->
<meta-data
android:name="io.sentry.attach-screenshot"
android:value="true" />
<!-- enable view hierarchy for crashes -->
<meta-data
android:name="io.sentry.attach-view-hierarchy"
android:value="true" />

<!-- enable the performance API by setting a sample-rate, adjust in production env -->
<meta-data
android:name="io.sentry.traces.sample-rate"
android:value="1.0" />
<!-- enable profiling when starting transactions, adjust in production env -->
<meta-data
android:name="io.sentry.traces.profiling.sample-rate"
android:value="1.0" />
<!-- enable app start profiling -->
<meta-data
android:name="io.sentry.traces.profiling.enable-app-start"
android:value="true" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import androidx.tv.material3.Text
import io.sentry.Sentry
import top.yogiczy.mytv.core.data.utils.Constants
import top.yogiczy.mytv.tv.R
import top.yogiczy.mytv.tv.ui.material.LocalPopupManager
Expand Down Expand Up @@ -146,16 +145,6 @@ fun SettingsCategoryAbout(
)
}
}

Sentry.withScope {
item {
@Suppress("UnstableApiUsage")
SettingsListItem(
headlineContent = "设备ID",
trailingContent = it.options.distinctId.toString(),
)
}
}
}
}

Expand Down

0 comments on commit f914c48

Please sign in to comment.