v2.2.5: In-app logging, ISP blocking detection, Latin script fix

This commit is contained in:
zarzet committed 2026-01-10 19:03:39 +07:00
1 parent f12c18d76b
commit 11e7034cec
25 files changed
+2327 -185

No files matched your search

+25
View File
@@ -256,6 +256,31 @@ import Gobackend // Import Go framework
GobackendSetSpotifyAPICredentials(clientId, clientSecret)
return nil
// Log methods
case "getLogs":
let response = GobackendGetLogs()
return response
case "getLogsSince":
let args = call.arguments as! [String: Any]
let index = args["index"] as? Int ?? 0
let response = GobackendGetLogsSince(Int(index))
return response
case "clearLogs":
GobackendClearLogs()
return nil
case "getLogCount":
let response = GobackendGetLogCount()
return response
case "setLoggingEnabled":
let args = call.arguments as! [String: Any]
let enabled = args["enabled"] as? Bool ?? false
GobackendSetLoggingEnabled(enabled)
return nil
default:
throw NSError(
domain: "SpotiFLAC",