Skip to content

Commit

Permalink
Merge pull request #432 from jalopezcar/release_v2.1.4
Browse files Browse the repository at this point in the history
Spotify iOS SDK v2.1.4
  • Loading branch information
jalopezcar authored Jul 16, 2024
2 parents 0b2f7cc + 09abf25 commit 8aec623
Show file tree
Hide file tree
Showing 47 changed files with 155 additions and 41 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Spotify iOS SDK v2.1.4
What's New:
- Add support for raw scope string

## Spotify iOS SDK v2.1.3
What's New:
- Fix bug in the web authentication when using Universal Links in the redirect URI
Expand Down
13 changes: 13 additions & 0 deletions SpotifyiOS.framework/Versions/A/Headers/SPTSessionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ typedef NSString * const SPTAuthorizationCode;
options:(SPTAuthorizationOptions)options
campaign:(nullable NSString *)campaign;

/**
Initiate the authorization process
@note Prefer `initiateSessionWithScope:options:campaign` instead, unless you need additional scopes that aren't listed in `SPTScope`
@param scope The scope to request, e.g. `"playlist-read-private user-read-email"` if you wish to request read access to private playlists, and read access to the user's email address.
@param options Options bitmask that informs authorization behavior.
@param campaign The campaign identifier, to help attribute where the account linking was initiated from.
See `SPTSessionManagerDelegate` for messages regarding changes in session state.
*/
- (void)initiateSessionWithRawScope:(NSString *)scope
options:(SPTAuthorizationOptions)options
campaign:(nullable NSString *)campaign;

/// Attempt to renew the access token, using the refresh token in the current `SPTSession` which must be valid.
- (void)renewSession;

Expand Down
Binary file modified SpotifyiOS.framework/Versions/A/SpotifyiOS
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ typedef NSString * const SPTAuthorizationCode;
options:(SPTAuthorizationOptions)options
campaign:(nullable NSString *)campaign;

/**
Initiate the authorization process
@note Prefer `initiateSessionWithScope:options:campaign` instead, unless you need additional scopes that aren't listed in `SPTScope`
@param scope The scope to request, e.g. `"playlist-read-private user-read-email"` if you wish to request read access to private playlists, and read access to the user's email address.
@param options Options bitmask that informs authorization behavior.
@param campaign The campaign identifier, to help attribute where the account linking was initiated from.
See `SPTSessionManagerDelegate` for messages regarding changes in session state.
*/
- (void)initiateSessionWithRawScope:(NSString *)scope
options:(SPTAuthorizationOptions)options
campaign:(nullable NSString *)campaign;

/// Attempt to renew the access token, using the refresh token in the current `SPTSession` which must be valid.
- (void)renewSession;

Expand Down
Binary file modified SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/SpotifyiOS
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ typedef NSString * const SPTAuthorizationCode;
options:(SPTAuthorizationOptions)options
campaign:(nullable NSString *)campaign;

/**
Initiate the authorization process
@note Prefer `initiateSessionWithScope:options:campaign` instead, unless you need additional scopes that aren't listed in `SPTScope`
@param scope The scope to request, e.g. `"playlist-read-private user-read-email"` if you wish to request read access to private playlists, and read access to the user's email address.
@param options Options bitmask that informs authorization behavior.
@param campaign The campaign identifier, to help attribute where the account linking was initiated from.
See `SPTSessionManagerDelegate` for messages regarding changes in session state.
*/
- (void)initiateSessionWithRawScope:(NSString *)scope
options:(SPTAuthorizationOptions)options
campaign:(nullable NSString *)campaign;

/// Attempt to renew the access token, using the refresh token in the current `SPTSession` which must be valid.
- (void)renewSession;

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</data>
<key>Headers/SPTSessionManager.h</key>
<data>
rai/PC+ZQFztLKBArW5cdy62CmY=
4/8Bb5n/1Fet6IQIcTshc2x7b/Y=
</data>
<key>Headers/SpotifyAppRemote.h</key>
<data>
Expand Down Expand Up @@ -332,7 +332,7 @@
<dict>
<key>hash2</key>
<data>
+NUHlxSqOqjmXLYO7IpjGmFXc8zaq9pI7L/82/PJCcc=
2n64pjBa0zfSsj4PB4zswcKQLyym7Buwf1cveAV114U=
</data>
</dict>
<key>Headers/SpotifyAppRemote.h</key>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Blocks/SPTAppRemoteCallback.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Classes/SPTAppRemote.html
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Classes/SPTAppRemoteConnectionParams.html
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Classes/SPTConfiguration.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Classes/SPTError.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h2 class="subtitle subtitle-overview">Overview</h2>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Classes/SPTSession.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
73 changes: 72 additions & 1 deletion docs/html/Classes/SPTSessionManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ <h1 id="library-title">

<option value="//api/name/initWithConfiguration:delegate:">- initWithConfiguration:delegate:</option>

<option value="//api/name/initiateSessionWithRawScope:options:campaign:">- initiateSessionWithRawScope:options:campaign:</option>

<option value="//api/name/initiateSessionWithScope:options:campaign:">- initiateSessionWithScope:options:campaign:</option>

<option value="//api/name/renewSession">- renewSession</option>
Expand Down Expand Up @@ -358,6 +360,75 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>



<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">SPTSessionManager.h</code></p>
</div>


</div>
</div>
</div><div class="section-method">
<a name="//api/name/initiateSessionWithRawScope:options:campaign:" title="initiateSessionWithRawScope:options:campaign:"></a>
<h3 class="method-title"><code><a href="#//api/name/initiateSessionWithRawScope:options:campaign:">&ndash;&nbsp;initiateSessionWithRawScope:options:campaign:</a></code>
</h3>

<div class="method-info">
<div class="pointy-thing"></div>

<div class="method-info-container">


<div class="method-subsection brief-description">
<p>Initiate the authorization process</p>
</div>



<div class="method-subsection method-declaration"><code>- (void)initiateSessionWithRawScope:(NSString *)<em>scope</em> options:(SPTAuthorizationOptions)<em>options</em> campaign:(nullable NSString *)<em>campaign</em></code></div>



<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">

<tr>
<th scope="row" class="argument-name"><code>scope</code></th>
<td><p>The scope to request, e.g. <code>"playlist-read-private user-read-email"</code> if you wish to request read access to private playlists, and read access to the user&rsquo;s email address.</p></td>
</tr>

<tr>
<th scope="row" class="argument-name"><code>options</code></th>
<td><p>Options bitmask that informs authorization behavior.</p></td>
</tr>

<tr>
<th scope="row" class="argument-name"><code>campaign</code></th>
<td><p>The campaign identifier, to help attribute where the account linking was initiated from.
See <a href="../Protocols/SPTSessionManagerDelegate.html"><code>SPTSessionManagerDelegate</code></a> for messages regarding changes in <a href="#//api/name/session">session</a> state.</p></td>
</tr>

</table>
</div>







<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<div class="note"><p><strong>Note:</strong> Prefer <code>initiateSessionWithScope:options:campaign</code> instead, unless you need additional scopes that aren&rsquo;t listed in <a href="../Constants/SPTScope.html"><code>SPTScope</code></a></p></div>
</div>







<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">SPTSessionManager.h</code></p>
Expand Down Expand Up @@ -621,7 +692,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Constants/SPTAppRemoteErrorCode.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Constants/SPTAppRemoteLogLevel.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Constants/SPTAuthorizationOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Constants/SPTErrorCode.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Constants/SPTScope.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteAlbum.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteArtist.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteConnectivityAPI.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteConnectivityState.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteContentAPI.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteContentItem.html
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteCrossfadeState.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteDelegate.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteImageAPI.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/Protocols/SPTAppRemoteImageRepresentable.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-15</p>
<p class="copyright">Copyright &copy; 2024 Spotify. All rights reserved. Updated: 2024-07-16</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
Loading

0 comments on commit 8aec623

Please sign in to comment.