v2.0.3: Custom Spotify credentials, rate limit UI, search fixes

This commit is contained in:
zarzet committed 2026-01-03 23:56:03 +07:00
1 parent 794486a200
commit 85bb67da47
17 files changed
+594 -44

No files matched your search

+9
View File
@@ -284,4 +284,13 @@ class PlatformBridge {
final result = await _channel.invokeMethod('isDownloadServiceRunning');
return result as bool;
}
/// Set custom Spotify API credentials
/// Pass empty strings to use default credentials
static Future<void> setSpotifyCredentials(String clientId, String clientSecret) async {
await _channel.invokeMethod('setSpotifyCredentials', {
'client_id': clientId,
'client_secret': clientSecret,
});
}
}