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

watchOS 支持 #120

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

watchOS 支持 #120

wants to merge 11 commits into from

Conversation

VaslD
Copy link

@VaslD VaslD commented Aug 8, 2023

基本 watchOS 7+ 支持。允许 SDK 初始化和手动埋点上报,尚不兼容全自动、可视化、WebView 埋点。

改动

  1. UIKit 相关 iOS 平台判断(例如:Keychain、Obj-C Runtime 等)增加 watchOS 平台条件
  2. UIApplication 相关代码添加 WKApplication 逻辑分支
  3. UIDevice 相关代码添加 WKInterfaceDevice 逻辑分支
  4. 添加 SystemConfiguration 框架可用性判断;SC 不可用时移除 Reachability 相关代码
  5. Podspec 声明支持 watchOS;改动部分系统框架依赖声明

@yaoyue
Copy link
Collaborator

yaoyue commented Aug 9, 2023

感谢 PR 支持,我们内部再整体测试和评估下,如果没问题再 merge ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants