Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复在 Android Q 上的界面问题,新增 Firebase 服务 #85

Merged
merged 42 commits into from
Oct 28, 2024

Commits on Sep 29, 2024

  1. Update UserAgreement.md

    ArcticFoxPro committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    8286e51 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. 更新 README.md

    ArcticFoxPro authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    f70d302 View commit details
    Browse the repository at this point in the history
  2. 更新 README.md

    ArcticFoxPro authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    495ba2f View commit details
    Browse the repository at this point in the history
  3. 更新 README.md

    ArcticFoxPro authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    4537b16 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. 更新依赖项,调整资源文件中的平台名称

    - 将 Android Gradle 插件版本更新到8.7.0
    - 更新 gradle-wrapper.properties 中的 Gradle 分发版本到 8.10.2
    - 调整资源文件中的平台名称,从 "Shiply 分发平台" 更改为 "Shiply 容器与发布平台"
    - 修复部分资源文件中的英文术语描述
    ArcticFoxPro committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    34997da View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. 集成 Google Secrets Gradle 插件

    - 在 app 模块的 build.gradle.kts 中添加 secrets-gradle-plugin 插件
    - 在项目级 build.gradle.kts 中添加 secrets-gradle-plugin 依赖
    - 更新 README.md,添加 Secrets Gradle 插件的引用
    ArcticFoxPro committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a2ca97d View commit details
    Browse the repository at this point in the history
  2. 添加构建脚本以设置空的 local.properties 文件

    在 CodeQL 和 Push CI 工作流程中,添加了一个新的步骤来创建一个空的 local.properties 文件。这是为了确保在没有现有 local.properties 文件时,构建过程不会失败。
    ArcticFoxPro committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cbb2c5a View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. 集成 Firebase云消息传递(FCM)和 Google Analytics,并添加通知权限请求

    - 在 AndroidManifest.xml 中添加通知权限和 FCM服务
    - 更新 build.gradle 文件以包含 Firebase 依赖项
    - 添加 FirebaseMessagingService 类以处理 FCM 消息
    - 在 MainActivity 中集成 FCM 功能,包括订阅主题、发送通知等
    - 添加必要的 XML 图标和布局文件
    - 更新 README 和个人信息第三方共享清单以反映 Firebase 集成
    ArcticFoxPro committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d8f2222 View commit details
    Browse the repository at this point in the history
  2. 修复:添加 @SuppressLint 注解以忽略 I18n 警告

    在 showGuessVersionDialog函数中添加了 @SuppressLint("SetTextI18n") 注解,以忽略关于国际化(I18n)的警告。这是因为在该函数中使用了 setText 方法直接设置含有中文字符的字符串,可能会引发 Android 的 I18n检查机制的警告。添加此注解可以抑制这类警告,但需要注意的是,这并不意味着完全符合国际化标准,可能需要后续进行更全面的国际化处理。
    ArcticFoxPro committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fd7497d View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. 添加前往系统设置选项和Firebase服务初始化提示

    - 在 dialogError函数中添加前往系统设置的选项,用于处理通知权限问题
    - 在 MainActivity 中增加 Firebase 服务初始化的提示文本
    - 向资源文件中添加新的字符串资源,支持多语言
    - 在 GitHub Actions 中添加插入 google-services.json 的步骤,支持 Firebase 功能
    ArcticFoxPro committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    34e1fb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53db61e View commit details
    Browse the repository at this point in the history
  3. 修复CI流程中GoogleServices文件插入错误

    在CodeQL和PushCI工作流中,修改插入google-services.json文件的内容时增加-n选项,确保文件内容正确写入,避免额外的空行或空格导致的错误。
    ArcticFoxPro committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    3ef029d View commit details
    Browse the repository at this point in the history
  4. 改进google-services.json的插入方法

    使用`cat<<EOF`方式代替`echo`命令,确保`google-services.json`文件内容正确插入且格式保持一致。同时指定使用bash shell执行该命令。
    ArcticFoxPro committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ee9390c View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. ci: 更新 .gitignore 和 GitHub Actions 工作流

    - 在 .gitignore 中添加 app/google-services.json,防止敏感信息泄露
    - 更新 GitHub Actions CodeQL 分析工作流,仅在特定仓库中运行
    ArcticFoxPro committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    d80398e View commit details
    Browse the repository at this point in the history
  2. ci: 更新 .gitignore 和 GitHub Actions 工作流

    - 在 .gitignore 中添加 app/google-services.json,防止敏感信息泄露
    - 更新 GitHub Actions CodeQL 分析工作流,仅在特定仓库中运行
    ArcticFoxPro committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    ded3ff4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0919ee4 View commit details
    Browse the repository at this point in the history
  4. docs: 更新九七公司「通知中心」微信小程序情况

    -2024 年 10 月 17 日,「通知中心」微信小程序改名为「通知侠」重新上线
    - 因内容安全问题,去掉了 GitHub Releases 更新订阅
    - 更新了相关文档页面,说明当前情况
    ArcticFoxPro committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2457081 View commit details
    Browse the repository at this point in the history
  5. refactor(app): 更新关于页面文本内容并注释部分代码

    - 移除了关于页面中对九七通知中心的提及,因内容安全问题已停止使用
    - 注释了与九七通知中心相关的代码部分
    - 添加了对 Firebase 云消息传递订阅和退订 API 问题的注释
    ArcticFoxPro committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    56cce4a View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. build(deps): 更新 material-components依赖到 1.13.0-alpha07 版本- 将 com.googl…

    …e.android.material:material 依赖从 1.13.0-alpha06 升级到 1.13.0-alpha07
    
    - 修改 Dependabot 更新频率从每月一次改为每天一次
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    d1f667a View commit details
    Browse the repository at this point in the history
  2. Bump actions/upload-artifact in the action-dependencies group (#10)

    Bumps the action-dependencies group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).
    
    
    Updates `actions/upload-artifact` from 4.4.0 to 4.4.3
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v4.4.0...v4.4.3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: action-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 19, 2024
    Configuration menu
    Copy the full SHA
    99c1678 View commit details
    Browse the repository at this point in the history
  3. Bump the maven-dependencies group with 3 updates (#11)

    * Bump the maven-dependencies group with 3 updates
    
    Bumps the maven-dependencies group with 3 updates: androidx.core:core-splashscreen, [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://github.com/Kotlin/kotlinx.coroutines) and [plugin.serialization](https://github.com/JetBrains/kotlin).
    
    
    Updates `androidx.core:core-splashscreen` from 1.1.0-rc01 to 1.2.0-alpha02
    
    Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.8.1 to 1.9.0
    - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
    - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
    - [Commits](Kotlin/kotlinx.coroutines@1.8.1...1.9.0)
    
    Updates `plugin.serialization` from 2.0.20 to 2.0.21
    - [Release notes](https://github.com/JetBrains/kotlin/releases)
    - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
    - [Commits](JetBrains/kotlin@v2.0.20...v2.0.21)
    
    ---
    updated-dependencies:
    - dependency-name: androidx.core:core-splashscreen
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: maven-dependencies
    - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: maven-dependencies
    - dependency-name: plugin.serialization
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: maven-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Update build.gradle.kts
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: 有鲫雪狐 <[email protected]>
    dependabot[bot] and ArcticFoxPro authored Oct 19, 2024
    Configuration menu
    Copy the full SHA
    2367646 View commit details
    Browse the repository at this point in the history
  4. ci(dependabot): 调整依赖更新频率并优化通知功能

    - 将 Gradle 和 GitHub Actions 的依赖更新频率从每日改为每月
    - 完善 FirebaseMessagingService 中的通知功能:
      -指定通知点击后跳转到 MainActivity
      - 优化代码格式
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    7c4f9ab View commit details
    Browse the repository at this point in the history
  5. refactor(service): 优化 FirebaseMessagingService 中的通知处理

    - 移除了未使用的导入
    -简化了 PendingIntent 的创建方式- 更新了通知跳转的 Intent 实现
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    390267b View commit details
    Browse the repository at this point in the history
  6. refactor(service): 移除 FirebaseMessagingService 中的冗余代码- 删除了未使用的 Pendin…

    …gIntent 和 Intent 相关代码
    
    - 将 setContentIntent 设置为 null,移除了点击通知后的跳转功能
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    135404e View commit details
    Browse the repository at this point in the history
  7. build(app): 集成 Compose 并更新依赖

    - 在 build.gradle.kts 中启用 Compose
    - 添加 Compose 相关的依赖库
    - 更新 firebase 和 coroutines 依赖
    - 修改 dependabot.yml,将更新频率改为每日
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    7d37e0e View commit details
    Browse the repository at this point in the history
  8. build(app): 升级 Compose 版本并调整 Dependabot 配置

    - 将 Compose 版本从 2024.09.00 升级到 2024.10.00- 修改 Dependabot 配置,将检查频率从每日改为每月
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    752e2ac View commit details
    Browse the repository at this point in the history
  9. ci:优化代码分析触发条件

    - 在 codeql.yml 文件中添加了对 commit 消息的判断
    - 只有当 commit 消息不以 '[skip ci]' 开头时才执行代码分析
    - 这样可以避免不必要的 CI 流程运行,提高工作效率
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    e6655c3 View commit details
    Browse the repository at this point in the history
  10. ci: 修改 CodeQL 分析触发条件

    - 将触发条件从提交消息检查改为检查事件类型- 只在非 pull request事件时触发分析
    - 适用于 'klxiaoniu/QQVersionList' 和 'ArcticFoxPro/QQVersionList' 仓库
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    d3999a0 View commit details
    Browse the repository at this point in the history
  11. build(app): 更新 Compose 相关依赖版本

    - 移除 Compose 相关依赖的具体版本号,使用 BOM 管理版本
    - 添加 Kotlin Compose 插件
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    4a6be79 View commit details
    Browse the repository at this point in the history
  12. refactor(app): 移除 Compose 相关代码

    - 删除了 build.gradle.kts 中的 Compose 插件和相关依赖- 移除了 buildFeatures 中的 compose 配置项
    - 删除了与 Compose 相关的所有实现和测试依赖
    ArcticFoxPro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    f8c8dac View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. feat(ui): 为 QQ 和 TIM 版本列表添加快速滚动条

    - 在 QQVersionListFragment 和 TIMVersionListFragment 中集成 FastScroller
    - 添加 AndroidFastScroll依赖并更新 README.md
    -优化版本列表的布局和适配
    ArcticFoxPro committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    ba05e7c View commit details
    Browse the repository at this point in the history
  2. refactor(scroll): 优化滚动条样式和布局

    - 修改了多个布局文件中的滚动条类型和样式
    - 调整了部分布局文件的内边距
    - 移除了 QQVersionListFragment 和 TIMVersionListFragment 中的 FastScrollerBuilder 设置
    - 在 MainActivity 中为 UserAgreement 和 ExpBackDialog 添加了 FastScrollerBuilder 设置
    ArcticFoxPro committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    2a5716f View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. perf(layout): 优化底部应用栏和系统栏的兼容性

    - 调整 BottomAppBar 的布局和锚点
    - 优化系统栏颜色设置
    - 移除冗余的 SDK 版本判断
    - 更新依赖版本:
      - material: 1.13.0-alpha07
      - firebase-bom: 33.5.1
      - okhttp:4.12.0 - gson: 2.11.0
      - paris:2.0.2
      - maven-artifact: 3.9.9
      - secrets-gradle-plugin: 2.0.1
      - google-services: 4.4.2
    ArcticFoxPro committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    a5f08fc View commit details
    Browse the repository at this point in the history
  2. Update dependabot.yml

    ArcticFoxPro authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    8bec53a View commit details
    Browse the repository at this point in the history
  3. docs: 更新个人信息第三方共享清单说明

    - 在说明中增加了"实现云端消息推送"的描述,明确了第三方 SDK 的用途
    - 优化了语言表达,使说明更加清晰易懂
    ArcticFoxPro committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    2b2078a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27b75da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    297209c View commit details
    Browse the repository at this point in the history
  6. Update DataListShared.md

    ArcticFoxPro committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    9a84bc7 View commit details
    Browse the repository at this point in the history
  7. build(gradle): 更新 Android Gradle 插件并调整版本管理- 在 app/build.gradle.kts 和 …

    …build.gradle.kts 中使用 alias(libs.plugins.android.application) 替代直接引用插件版本
    
    - 在 gradle/libs.versions.toml 中添加 androidGradlePlugin 版本定义
    - 更新 MainActivity.kt 中的特别感谢名单,添加钟路帆
    ArcticFoxPro committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    99c394f View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. feat(app): 添加个人信息第三方共享清单链接并更新用户协议

    - 在关于对话框中添加个人信息第三方共享清单按钮
    - 更新用户协议版本号和日期
    - 在用户协议中添加 Firebase 服务相关说明
    - 更新多语言字符串资源
    - 添加浏览器组件依赖
    ArcticFoxPro committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1bc0006 View commit details
    Browse the repository at this point in the history
  2. fix:修正 Firebase 服务启用警告文本

    - 在多个语言版本的 strings.xml 文件中,修正了 enablingFirebaseServiceWarning 字符串- 统一了文本格式,确保在不同语言版本中保持一致
    - 优化了中文版本的警告信息,使其更加清晰准确
    ArcticFoxPro committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    7ab6708 View commit details
    Browse the repository at this point in the history
  3. docs(README): 添加 Kotlin Coroutines on Android 项目

    在 README.md 文件中的开源项目鸣谢列表中添加了 Kotlin Coroutines on Android项目,
    并指明其许可证为 Apache License Version 2.0。
    ArcticFoxPro committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    6cdb808 View commit details
    Browse the repository at this point in the history