Huruhuru 0.8.0

Huruhuru 0.8.0

ryo-takahashi 维护。



Huruhuru 0.8.0

  • ryo-takahashi

Huruhuru

MIT License Version Platform

Huruhuru 是团队 QA 的应用内问题报告调试工具。仅支持 GitHub。🙃

要求

  • Swift 5.0 或更高版本
  • iOS 11.0 或更高版本

其他尚未验证。

待办事项

  • 添加测试
  • 支持 Carthage

警告

  • Huruhuru 会自动在指定的仓库中创建一个图像存储分支(huruhuru-auto-created-branch-for-upload-image)。

安装

Cocoapods

  • pod 'Huruhuru', :configurations => ['YOUR_DEBUG_SCHEME'] 添加到您的 Podfile。
  • 运行 pod install

使用

  1. 创建 GitHub 令牌

  1. 写入代码。
// [Example]
// AppDelegate.swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    // ...
    Huruhuru.shared.start(sendTo: Huruhuru.RepositoryInfo(ownerName: GITHUB_OWNER_NAME, repositoryName: GITHUB_REPOSITORY_NAME) , token: Huruhuru.GithubToken(token: GITHUB_TOKEN), supportDetectGesture: Huruhuru.SupportDetectGesture(types: [.shake, .screenshot]) )
    // ...
}

注意:使用 cocoapods-keys,您不需要将 SecretKey 直接提交到源代码。

  1. 摇一摇手势或截屏以打开报告视图
浅色 深色