DebugSwift / DebugSwift

A toolkit to make debugging iOS applications easier 🚀
https://cocoapods.org/pods/DebugSwift
MIT License
488 stars 50 forks source link

Sharing is not implemented on the Console screen #98

Open npu3pak opened 1 month ago

npu3pak commented 1 month ago

Sharing is not implemented on the Console screen.

  1. Open DebugSwift
  2. Select "App" tab
  3. Tap "Console"
  4. Tap "Share"

Result: Nothing happens.

To fix the issue you should implement the handleShareAction() method in the AppConsoleViewModel. Example:

func handleShareAction() {
        let allData = data.joined(separator: "\n")
        FileSharingManager.generateFileAndShare(text: allData, fileName: "console")
}
MaatheusGois commented 1 month ago

Open the PR 🤣