@superfan-app/spotify-auth 0.1.45 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,6 +44,12 @@ class SpotifyOAuthView: ExpoView {
|
|
|
44
44
|
private static let authTimeoutInterval: TimeInterval = 300 // 5 minutes
|
|
45
45
|
private var observerToken: NSKeyValueObservation?
|
|
46
46
|
|
|
47
|
+
private func secureLog(_ message: String) {
|
|
48
|
+
#if DEBUG
|
|
49
|
+
print("[SpotifyOAuthView] \(message)")
|
|
50
|
+
#endif
|
|
51
|
+
}
|
|
52
|
+
|
|
47
53
|
required init(appContext: AppContext? = nil) {
|
|
48
54
|
// Generate a random state string for CSRF protection
|
|
49
55
|
self.state = UUID().uuidString
|