fix(ios): add setSpotifyCredentials method to AppDelegate

This commit is contained in:
zarzet
2026-01-10 04:36:28 +07:00
parent bea5dd1d4a
commit c30f9fe412
+7
View File
@@ -249,6 +249,13 @@ import Gobackend // Import Go framework
GobackendClearTrackCache()
return nil
case "setSpotifyCredentials":
let args = call.arguments as! [String: Any]
let clientId = args["client_id"] as! String
let clientSecret = args["client_secret"] as! String
GobackendSetSpotifyAPICredentials(clientId, clientSecret)
return nil
default:
throw NSError(
domain: "SpotiFLAC",