[PR #1679] [MERGED] feat: add logs on iOS #1655

Closed
opened 2026-04-25 00:00:23 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1679
Author: @clayreimann
Created: 9/4/2025
Status: Merged
Merged: 11/19/2025
Merged by: @advplyr

Base: masterHead: feat-ios-logs


📝 Commits (2)

  • b773ec7 feat: usable logs on iOS
  • 399a01a iOS fix onLog listener event for realtime logs

📊 Changes

20 files changed (+425 additions, -198 deletions)

View changed files

📝 .editorconfig (+4 -0)
📝 components/app/SideDrawer.vue (+6 -8)
📝 ios/App/App.xcodeproj/project.pbxproj (+4 -0)
📝 ios/App/App/AppDelegate.swift (+13 -15)
📝 ios/App/App/plugins/AbsAudioPlayer.swift (+13 -12)
📝 ios/App/App/plugins/AbsDatabase.swift (+13 -14)
📝 ios/App/App/plugins/AbsDownloader.swift (+13 -15)
📝 ios/App/App/plugins/AbsFileSystem.swift (+11 -13)
📝 ios/App/App/plugins/AbsLogger.swift (+86 -9)
ios/App/Shared/models/LogEntry.swift (+17 -0)
📝 ios/App/Shared/player/AudioPlayer.swift (+25 -28)
📝 ios/App/Shared/player/AudioPlayerSleepTimer.swift (+3 -3)
📝 ios/App/Shared/player/DefaultedAudioPlayerRateManager.swift (+1 -2)
📝 ios/App/Shared/player/LegacyAudioPlayerRateManager.swift (+2 -3)
📝 ios/App/Shared/player/PlayerProgress.swift (+10 -13)
📝 ios/App/Shared/util/ApiClient.swift (+51 -52)
📝 ios/App/Shared/util/Database.swift (+62 -8)
📝 ios/App/Shared/util/Extensions.swift (+78 -2)
📝 pages/logs.vue (+1 -1)
📝 readme.md (+12 -0)

📄 Description

Brief summary

  • enable logs page on iOS
  • wrap long identifiers in logs UI
  • persist logs in Realm
  • update editorconfig, podfile, and readme

Which issue is fixed?

Pull Request Type

iOS only

In-depth Description

Adding the logs to the iOS build to help with tracking down player sync issues.

How have you tested this?

Running on my device

Screenshots

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/1679 **Author:** [@clayreimann](https://github.com/clayreimann) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 11/19/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `feat-ios-logs` --- ### 📝 Commits (2) - [`b773ec7`](https://github.com/advplyr/audiobookshelf-app/commit/b773ec7690ac115672a8e70fccaf14ad870fc534) feat: usable logs on iOS - [`399a01a`](https://github.com/advplyr/audiobookshelf-app/commit/399a01a937904e8f4ebc04971f9665843ed559c5) iOS fix onLog listener event for realtime logs ### 📊 Changes **20 files changed** (+425 additions, -198 deletions) <details> <summary>View changed files</summary> 📝 `.editorconfig` (+4 -0) 📝 `components/app/SideDrawer.vue` (+6 -8) 📝 `ios/App/App.xcodeproj/project.pbxproj` (+4 -0) 📝 `ios/App/App/AppDelegate.swift` (+13 -15) 📝 `ios/App/App/plugins/AbsAudioPlayer.swift` (+13 -12) 📝 `ios/App/App/plugins/AbsDatabase.swift` (+13 -14) 📝 `ios/App/App/plugins/AbsDownloader.swift` (+13 -15) 📝 `ios/App/App/plugins/AbsFileSystem.swift` (+11 -13) 📝 `ios/App/App/plugins/AbsLogger.swift` (+86 -9) ➕ `ios/App/Shared/models/LogEntry.swift` (+17 -0) 📝 `ios/App/Shared/player/AudioPlayer.swift` (+25 -28) 📝 `ios/App/Shared/player/AudioPlayerSleepTimer.swift` (+3 -3) 📝 `ios/App/Shared/player/DefaultedAudioPlayerRateManager.swift` (+1 -2) 📝 `ios/App/Shared/player/LegacyAudioPlayerRateManager.swift` (+2 -3) 📝 `ios/App/Shared/player/PlayerProgress.swift` (+10 -13) 📝 `ios/App/Shared/util/ApiClient.swift` (+51 -52) 📝 `ios/App/Shared/util/Database.swift` (+62 -8) 📝 `ios/App/Shared/util/Extensions.swift` (+78 -2) 📝 `pages/logs.vue` (+1 -1) 📝 `readme.md` (+12 -0) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary - enable logs page on iOS - wrap long identifiers in logs UI - persist logs in Realm - update editorconfig, podfile, and readme ## Which issue is fixed? <!-- Which issue number does this PR fix? Ex: "Fixes #1234" --> ## Pull Request Type <!-- Does this affect only Android, only iOS, or both? Does this change the frontend or the backend of the apps? --> iOS only ## In-depth Description Adding the logs to the iOS build to help with tracking down player sync issues. ## How have you tested this? Running on my device ## Screenshots <img width="300" height="755" alt="image" src="https://github.com/user-attachments/assets/8f1c5ae1-1420-42d6-a9bb-279084d083ad" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:00:23 +02:00
adam closed this issue 2026-04-25 00:00:24 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1655