更新 android 依赖

This commit is contained in:
lyswhut 2024-11-24 14:28:49 +08:00
parent e237e2540e
commit 27d7fba3b3
5 changed files with 12 additions and 12 deletions

View File

@ -193,7 +193,7 @@ dependencies {
implementation("com.facebook.react:flipper-integration") implementation("com.facebook.react:flipper-integration")
// implementation "androidx.javascriptengine:javascriptengine:1.0.0-alpha07" // implementation "androidx.javascriptengine:javascriptengine:1.0.0-alpha07"
// implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3") // implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation group: 'wang.harlon.quickjs', name: 'wrapper-android', version: '1.0.0' implementation 'wang.harlon.quickjs:wrapper-android:2.4.0'
if (hermesEnabled.toBoolean()) { if (hermesEnabled.toBoolean()) {
implementation("com.facebook.react:hermes-android") implementation("com.facebook.react:hermes-android")

View File

@ -2,9 +2,9 @@
buildscript { buildscript {
ext { ext {
buildToolsVersion = "34.0.0" buildToolsVersion = "35.0.0"
minSdkVersion = 21 minSdkVersion = 21
compileSdkVersion = 34 compileSdkVersion = 35
targetSdkVersion = 29 targetSdkVersion = 29
ndkVersion = "25.1.8937393" ndkVersion = "25.1.8937393"

12
package-lock.json generated
View File

@ -29,7 +29,7 @@
"react-native-pager-view": "6.3.0", "react-native-pager-view": "6.3.0",
"react-native-quick-base64": "^2.1.2", "react-native-quick-base64": "^2.1.2",
"react-native-quick-md5": "^3.0.6", "react-native-quick-md5": "^3.0.6",
"react-native-track-player": "github:lyswhut/react-native-track-player#23ad66e239170bd9be1b21047f50150ea26f8fd0", "react-native-track-player": "github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5",
"react-native-vector-icons": "^10.2.0" "react-native-vector-icons": "^10.2.0"
}, },
"devDependencies": { "devDependencies": {
@ -10873,8 +10873,8 @@
}, },
"node_modules/react-native-track-player": { "node_modules/react-native-track-player": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#23ad66e239170bd9be1b21047f50150ea26f8fd0", "resolved": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#bbd330795e9b06177f00441286a4f4cab72d5ed5",
"integrity": "sha512-TLiUKfi3LCAzNxv+Qk9a6QCDEaZh2TiCYmqb/dsLqDbXhUnv2KHRBS9f3/IE6n+xXBzOnk5/8khHgn95SSvhRw==", "integrity": "sha512-jMJPaI8o3trtxE9QL/RAXoCHRhp148oz4tUsoxK4lXkw6Kg+Ij1x0RxFJHaK1T4vkrCGyoe+AJvXvY7Ni0HUUA==",
"license": "Apache-2.0", "license": "Apache-2.0",
"peerDependencies": { "peerDependencies": {
"react": ">=16.8.6", "react": ">=16.8.6",
@ -21483,9 +21483,9 @@
} }
}, },
"react-native-track-player": { "react-native-track-player": {
"version": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#23ad66e239170bd9be1b21047f50150ea26f8fd0", "version": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#bbd330795e9b06177f00441286a4f4cab72d5ed5",
"integrity": "sha512-TLiUKfi3LCAzNxv+Qk9a6QCDEaZh2TiCYmqb/dsLqDbXhUnv2KHRBS9f3/IE6n+xXBzOnk5/8khHgn95SSvhRw==", "integrity": "sha512-jMJPaI8o3trtxE9QL/RAXoCHRhp148oz4tUsoxK4lXkw6Kg+Ij1x0RxFJHaK1T4vkrCGyoe+AJvXvY7Ni0HUUA==",
"from": "react-native-track-player@github:lyswhut/react-native-track-player#23ad66e239170bd9be1b21047f50150ea26f8fd0", "from": "react-native-track-player@github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5",
"requires": {} "requires": {}
}, },
"react-native-vector-icons": { "react-native-vector-icons": {

View File

@ -64,7 +64,7 @@
"react-native-pager-view": "6.3.0", "react-native-pager-view": "6.3.0",
"react-native-quick-base64": "^2.1.2", "react-native-quick-base64": "^2.1.2",
"react-native-quick-md5": "^3.0.6", "react-native-quick-md5": "^3.0.6",
"react-native-track-player": "github:lyswhut/react-native-track-player#23ad66e239170bd9be1b21047f50150ea26f8fd0", "react-native-track-player": "github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5",
"react-native-vector-icons": "^10.2.0" "react-native-vector-icons": "^10.2.0"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,4 +1,4 @@
为了防止歌曲缓存被当做第三方软件当做垃圾意外清理,歌曲缓存地址不再存储到缓存目录,若想清理缓存,需去 设置-其他-资源缓存管理 清理。 为了防止歌曲缓存被第三方软件当做垃圾意外清理,歌曲缓存地址不再存储到缓存目录,若想清理缓存,需去 设置-其他-资源缓存管理 清理。
更新到该版本首次播放歌曲时,会将之前的歌曲缓存迁移到新位置,需要等待的时间取决于你已缓存资源的大小。 更新到该版本首次播放歌曲时,会将之前的歌曲缓存迁移到新位置,需要等待的时间取决于你已缓存资源的大小。
@ -8,7 +8,7 @@
### 优化 ### 优化
- 防止歌曲缓存被当做第三方软件当做垃圾意外清理 - 防止歌曲缓存被第三方软件当做垃圾意外清理
- 优化正常播放结束时的下一首歌曲播放衔接度,在歌曲即将播放结束时将预获取下一首歌曲的播放链接,减少自动切歌时的等待时间 - 优化正常播放结束时的下一首歌曲播放衔接度,在歌曲即将播放结束时将预获取下一首歌曲的播放链接,减少自动切歌时的等待时间
- 首次使用的提示窗口可以点击背景或者返回键关闭(#577 - 首次使用的提示窗口可以点击背景或者返回键关闭(#577
- 上移 Toast 位置避免遮挡播放模式图标(#603 @sibojia - 上移 Toast 位置避免遮挡播放模式图标(#603 @sibojia