@wwdrew/expo-spotify-sdk 0.1.0

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.
Files changed (177) hide show
  1. package/LICENSE +3 -0
  2. package/README.md +113 -0
  3. package/app.plugin.js +1 -0
  4. package/build/ExpoSpotifySDK.types.d.ts +4 -0
  5. package/build/ExpoSpotifySDK.types.d.ts.map +1 -0
  6. package/build/ExpoSpotifySDK.types.js +2 -0
  7. package/build/ExpoSpotifySDK.types.js.map +1 -0
  8. package/build/ExpoSpotifySDKModule.d.ts +3 -0
  9. package/build/ExpoSpotifySDKModule.d.ts.map +1 -0
  10. package/build/ExpoSpotifySDKModule.js +5 -0
  11. package/build/ExpoSpotifySDKModule.js.map +1 -0
  12. package/build/ExpoSpotifySDKModule.web.d.ts +7 -0
  13. package/build/ExpoSpotifySDKModule.web.d.ts.map +1 -0
  14. package/build/ExpoSpotifySDKModule.web.js +12 -0
  15. package/build/ExpoSpotifySDKModule.web.js.map +1 -0
  16. package/build/index.d.ts +13 -0
  17. package/build/index.d.ts.map +1 -0
  18. package/build/index.js +12 -0
  19. package/build/index.js.map +1 -0
  20. package/expo-module.config.json +10 -0
  21. package/ios/ExpoSpotifyAuthDelegate.swift +11 -0
  22. package/ios/ExpoSpotifyConfiguration.swift +25 -0
  23. package/ios/ExpoSpotifySDK.podspec +30 -0
  24. package/ios/ExpoSpotifySDKModule.swift +32 -0
  25. package/ios/ExpoSpotifySessionManager+SessionManagerDelegate.swift +16 -0
  26. package/ios/ExpoSpotifySessionManager.swift +82 -0
  27. package/ios/SPTScopeSerializer.swift +44 -0
  28. package/ios/SpotifySDK/Licenses/MPMessagePack-LICENSE.md +20 -0
  29. package/ios/SpotifySDK/SpotifyiOS.xcframework/Info.plist +40 -0
  30. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemote.h +281 -0
  31. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteAlbum.h +18 -0
  32. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteArtist.h +18 -0
  33. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteCommon.h +36 -0
  34. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteConnectionParams.h +65 -0
  35. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteConnectivityAPI.h +54 -0
  36. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteConnectivityState.h +15 -0
  37. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteContentAPI.h +76 -0
  38. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteContentItem.h +46 -0
  39. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteCrossfadeState.h +18 -0
  40. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteImageAPI.h +25 -0
  41. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteImageRepresentable.h +16 -0
  42. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteLibraryState.h +19 -0
  43. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackOptions.h +32 -0
  44. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackRestrictions.h +32 -0
  45. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemotePlayerAPI.h +262 -0
  46. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemotePlayerState.h +40 -0
  47. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemotePodcastPlaybackSpeed.h +15 -0
  48. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteTrack.h +52 -0
  49. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteUserAPI.h +103 -0
  50. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTAppRemoteUserCapabilities.h +15 -0
  51. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTConfiguration.h +66 -0
  52. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTError.h +33 -0
  53. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTLogin.h +10 -0
  54. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTMacros.h +89 -0
  55. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTScope.h +71 -0
  56. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTSession.h +32 -0
  57. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SPTSessionManager.h +140 -0
  58. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SpotifyAppRemote.h +30 -0
  59. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Headers/SpotifyiOS.h +7 -0
  60. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Info.plist +0 -0
  61. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/Modules/module.modulemap +6 -0
  62. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64/SpotifyiOS.framework/SpotifyiOS +0 -0
  63. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemote.h +240 -0
  64. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteAlbum.h +18 -0
  65. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteArtist.h +18 -0
  66. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteCommon.h +36 -0
  67. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteConnectionParams.h +65 -0
  68. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteContentAPI.h +75 -0
  69. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteContentItem.h +43 -0
  70. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteCrossfadeState.h +18 -0
  71. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteImageAPI.h +25 -0
  72. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteImageRepresentable.h +16 -0
  73. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteLibraryState.h +19 -0
  74. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackOptions.h +32 -0
  75. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackRestrictions.h +32 -0
  76. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemotePlayerAPI.h +262 -0
  77. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemotePlayerState.h +40 -0
  78. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemotePodcastPlaybackSpeed.h +15 -0
  79. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteTrack.h +47 -0
  80. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteUserAPI.h +103 -0
  81. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTAppRemoteUserCapabilities.h +15 -0
  82. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTConfiguration.h +63 -0
  83. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTError.h +33 -0
  84. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTLogin.h +10 -0
  85. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTMacros.h +89 -0
  86. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTScope.h +68 -0
  87. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTSession.h +32 -0
  88. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SPTSessionManager.h +140 -0
  89. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SpotifyAppRemote.h +30 -0
  90. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Headers/SpotifyiOS.h +7 -0
  91. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Info.plist +0 -0
  92. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/Modules/module.modulemap +6 -0
  93. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_armv7/SpotifyiOS.framework/SpotifyiOS +0 -0
  94. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemote.h +240 -0
  95. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteAlbum.h +18 -0
  96. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteArtist.h +18 -0
  97. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteCommon.h +36 -0
  98. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteConnectionParams.h +65 -0
  99. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteContentAPI.h +75 -0
  100. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteContentItem.h +43 -0
  101. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteCrossfadeState.h +18 -0
  102. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteImageAPI.h +25 -0
  103. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteImageRepresentable.h +16 -0
  104. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteLibraryState.h +19 -0
  105. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackOptions.h +32 -0
  106. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackRestrictions.h +32 -0
  107. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlayerAPI.h +262 -0
  108. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlayerState.h +40 -0
  109. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePodcastPlaybackSpeed.h +15 -0
  110. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteTrack.h +47 -0
  111. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteUserAPI.h +103 -0
  112. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteUserCapabilities.h +15 -0
  113. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTConfiguration.h +63 -0
  114. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTError.h +33 -0
  115. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTLogin.h +10 -0
  116. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTMacros.h +89 -0
  117. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTScope.h +68 -0
  118. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTSession.h +32 -0
  119. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SPTSessionManager.h +140 -0
  120. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SpotifyAppRemote.h +30 -0
  121. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Headers/SpotifyiOS.h +7 -0
  122. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Info.plist +0 -0
  123. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/Modules/module.modulemap +6 -0
  124. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/SpotifyiOS +0 -0
  125. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_i386_x86_64-simulator/SpotifyiOS.framework/_CodeSignature/CodeResources +537 -0
  126. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemote.h +281 -0
  127. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteAlbum.h +18 -0
  128. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteArtist.h +18 -0
  129. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteCommon.h +36 -0
  130. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteConnectionParams.h +65 -0
  131. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteConnectivityAPI.h +54 -0
  132. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteConnectivityState.h +15 -0
  133. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteContentAPI.h +76 -0
  134. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteContentItem.h +46 -0
  135. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteCrossfadeState.h +18 -0
  136. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteImageAPI.h +25 -0
  137. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteImageRepresentable.h +16 -0
  138. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteLibraryState.h +19 -0
  139. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackOptions.h +32 -0
  140. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlaybackRestrictions.h +32 -0
  141. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlayerAPI.h +262 -0
  142. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePlayerState.h +40 -0
  143. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemotePodcastPlaybackSpeed.h +15 -0
  144. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteTrack.h +52 -0
  145. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteUserAPI.h +103 -0
  146. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTAppRemoteUserCapabilities.h +15 -0
  147. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTConfiguration.h +66 -0
  148. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTError.h +33 -0
  149. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTLogin.h +10 -0
  150. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTMacros.h +89 -0
  151. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTScope.h +71 -0
  152. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTSession.h +32 -0
  153. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SPTSessionManager.h +140 -0
  154. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SpotifyAppRemote.h +30 -0
  155. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Headers/SpotifyiOS.h +7 -0
  156. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Info.plist +0 -0
  157. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/Modules/module.modulemap +6 -0
  158. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/SpotifyiOS +0 -0
  159. package/ios/SpotifySDK/SpotifyiOS.xcframework/ios-arm64_x86_64-simulator/SpotifyiOS.framework/_CodeSignature/CodeResources +567 -0
  160. package/package.json +58 -0
  161. package/plugin/build/android/withSpotifyAndroidAppBuildGradle.d.ts +3 -0
  162. package/plugin/build/android/withSpotifyAndroidAppBuildGradle.js +16 -0
  163. package/plugin/build/android/withSpotifyConfigAndroid.d.ts +3 -0
  164. package/plugin/build/android/withSpotifyConfigAndroid.js +16 -0
  165. package/plugin/build/index.d.ts +4 -0
  166. package/plugin/build/index.js +24 -0
  167. package/plugin/build/ios/withSpotifyConfigIOS.d.ts +3 -0
  168. package/plugin/build/ios/withSpotifyConfigIOS.js +16 -0
  169. package/plugin/build/ios/withSpotifyQueryScheme.d.ts +3 -0
  170. package/plugin/build/ios/withSpotifyQueryScheme.js +15 -0
  171. package/plugin/build/ios/withSpotifyURLScheme.d.ts +3 -0
  172. package/plugin/build/ios/withSpotifyURLScheme.js +19 -0
  173. package/plugin/build/types.d.ts +8 -0
  174. package/plugin/build/types.js +21 -0
  175. package/plugin/build/withSpotifyConfig.d.ts +3 -0
  176. package/plugin/build/withSpotifyConfig.js +11 -0
  177. package/server.js +93 -0
@@ -0,0 +1,10 @@
1
+ #ifndef _SPOTIFYLOGIN_
2
+ #define _SPOTIFYLOGIN_
3
+
4
+ #import "SPTConfiguration.h"
5
+ #import "SPTError.h"
6
+ #import "SPTScope.h"
7
+ #import "SPTSession.h"
8
+ #import "SPTSessionManager.h"
9
+
10
+ #endif /* _SPOTIFYLOGIN_ */
@@ -0,0 +1,89 @@
1
+ #ifndef SPT_MACROS
2
+ #define SPT_MACROS
3
+
4
+ #ifdef __cplusplus
5
+ #define SPT_EXPORT extern "C" __attribute__((visibility("default")))
6
+ #else
7
+ #define SPT_EXPORT extern __attribute__((visibility("default")))
8
+ #endif // __cplusplus
9
+
10
+ #define SPT_DEPRECATED(MESSAGE) __attribute__((deprecated(MESSAGE)))
11
+ #define SPT_UNAVAILABLE __attribute__((unavailable))
12
+ #define SPT_UNUSED __attribute__((unused))
13
+ #define SPT_UNREACHABLE() __builtin_unreachable()
14
+
15
+ #define SPT_INLINE __attribute__((always_inline)) inline
16
+ #define SPT_CONST __attribute__((const))
17
+ #define SPT_PURE __attribute__((pure))
18
+
19
+ #define SPT_NONNULL __attribute__((nonnull))
20
+ #define SPT_RETURNS_NONNULL __attribute__((returns_nonnull))
21
+
22
+ #define SPT_EXPECT(EXPR, VAL) __builtin_expect(!!(EXPR), VAL)
23
+ #define SPT_LIKELY(EXPR) SPT_EXPECT(EXPR, 1)
24
+ #define SPT_UNLIKELY(EXPR) SPT_EXPECT(EXPR, 0)
25
+
26
+ #define SPT_MAX_POW2(TYPE_MAX) ((TYPE_MAX >> 1) ^ TYPE_MAX)
27
+
28
+ #define SPT_EXPR_OR_ZERO(EXPR) __builtin_choose_expr(SPT_TYPE_IS_VOID(EXPR), 0, (EXPR))
29
+ #define SPT_TYPE_IS_VOID(EXPR) __builtin_types_compatible_p(typeof(EXPR), void)
30
+
31
+ /**
32
+ Check if the receiver responds to a selector, then send the message,
33
+ along with the provided parameters.
34
+
35
+ The purpose of this macro, other than to make code less cluttered, is to make
36
+ it impossible to accidentally check for a selector but send a different message.
37
+
38
+ @param RECEIVER The object to which the message will be sent.
39
+ @param RESULT[out] A pointer to which the return value will be assigned.
40
+ @param ... 0-4 arguments.
41
+ \code{.m}
42
+ BOOL result = NO;
43
+ SPT_OPTIONAL_MESSAGE_SEND(self.delegate, &result, someThingie, self, didSomethingWith, someObject);
44
+ // Expands to the following:
45
+ do {
46
+ if ([self.delegate respondsToSelector:@selector(someThingie:didSomethingWith:)])
47
+ *(result) = [self.delegate someThingie:self didSomethingWith:someObject)];
48
+ } while (0);
49
+ \endcode
50
+ */
51
+ #define SPT_OPTIONAL_MESSAGE_SEND(RECEIVER, RESULT, ...) do { \
52
+ if ([RECEIVER respondsToSelector:@selector(SPT_CONCAT_SELECTOR(__VA_ARGS__))]) \
53
+ *(RESULT) = [RECEIVER SPT_CONCAT_METHOD(__VA_ARGS__)]; \
54
+ } while (0)
55
+
56
+ /**
57
+ Like SPT_OPTIONAL_MESSAGE_SEND but ignores the return value.
58
+ @param RECEIVER The object to which the message will be sent.
59
+ @param ... 0-4 arguments.
60
+ */
61
+ #define SPT_OPTIONAL_MESSAGE_SEND_(RECEIVER, ...) do { \
62
+ if ([RECEIVER respondsToSelector:@selector(SPT_CONCAT_SELECTOR(__VA_ARGS__))]) \
63
+ [RECEIVER SPT_CONCAT_METHOD(__VA_ARGS__)]; \
64
+ } while (0)
65
+
66
+ // Some boilerplate for SPT_OPTIONAL_MESSAGE_SEND[_]
67
+ #define SPT_CONCAT_METHOD8(A, _1, B, _2, C, _3, D, _4) A:_1 B:_2 C:_3 D:_4
68
+ #define SPT_CONCAT_METHOD6(A, _1, B, _2, C, _3) A:_1 B:_2 C:_3
69
+ #define SPT_CONCAT_METHOD4(A, _1, B, _2) A:_1 B:_2
70
+ #define SPT_CONCAT_METHOD2(A, _1) A:_1
71
+ #define SPT_CONCAT_METHOD1(A) A
72
+
73
+ #define SPT_CONCAT_SELECTOR8(A, _1, B, _2, C, _3, D, _4) A:B:C:D:
74
+ #define SPT_CONCAT_SELECTOR6(A, _1, B, _2, C, _3) A:B:C:
75
+ #define SPT_CONCAT_SELECTOR4(A, _1, B, _2) A:B:
76
+ #define SPT_CONCAT_SELECTOR2(A, _1) A:
77
+ #define SPT_CONCAT_SELECTOR1(A) A
78
+
79
+ #define SPT_PICK_CONCAT_MACRO(_1, _2, _3, _4, _5, _6, _7, _8, NAME, ...) NAME
80
+
81
+ #define SPT_CONCAT_METHOD(...) SPT_PICK_CONCAT_MACRO(__VA_ARGS__, \
82
+ SPT_CONCAT_METHOD8, SPT_CONCAT_METHOD7, SPT_CONCAT_METHOD6, SPT_CONCAT_METHOD5, \
83
+ SPT_CONCAT_METHOD4, SPT_CONCAT_METHOD3, SPT_CONCAT_METHOD2, SPT_CONCAT_METHOD1)(__VA_ARGS__)
84
+
85
+ #define SPT_CONCAT_SELECTOR(...) SPT_PICK_CONCAT_MACRO(__VA_ARGS__, \
86
+ SPT_CONCAT_SELECTOR8, SPT_CONCAT_SELECTOR7, SPT_CONCAT_SELECTOR6, SPT_CONCAT_SELECTOR5, \
87
+ SPT_CONCAT_SELECTOR4, SPT_CONCAT_SELECTOR3, SPT_CONCAT_SELECTOR2, SPT_CONCAT_SELECTOR1)(__VA_ARGS__)
88
+
89
+ #endif // SPT_MACROS
@@ -0,0 +1,71 @@
1
+ // (Objective-C identifier, Swift name, string value, bit flag)
2
+ #define SPT_SCOPE_LIST \
3
+ SPT_SCOPE(SPTPlaylistReadPrivateScope, playlistReadPrivate, "playlist-read-private", (1 << 0)) \
4
+ SPT_SCOPE(SPTPlaylistReadCollaborativeScope, playlistReadCollaborative, "playlist-read-collaborative", (1 << 1)) \
5
+ SPT_SCOPE(SPTPlaylistModifyPublicScope, playlistModifyPublic, "playlist-modify-public", (1 << 2)) \
6
+ SPT_SCOPE(SPTPlaylistModifyPrivateScope, playlistModifyPrivate, "playlist-modify-private", (1 << 3)) \
7
+ SPT_SCOPE(SPTUserFollowReadScope, userFollowRead, "user-follow-read", (1 << 4)) \
8
+ SPT_SCOPE(SPTUserFollowModifyScope, userFollowModify, "user-follow-modify", (1 << 5)) \
9
+ SPT_SCOPE(SPTUserLibraryReadScope, userLibraryRead, "user-library-read", (1 << 6)) \
10
+ SPT_SCOPE(SPTUserLibraryModifyScope, userLibraryModify, "user-library-modify", (1 << 7)) \
11
+ SPT_SCOPE(SPTUserReadBirthDateScope, userReadBirthDate, "user-read-birthdate", (1 << 8)) \
12
+ SPT_SCOPE(SPTUserReadEmailScope, userReadEmail, "user-read-email", (1 << 9)) \
13
+ SPT_SCOPE(SPTUserReadPrivateScope, userReadPrivate, "user-read-private", (1 << 10)) \
14
+ SPT_SCOPE(SPTUserTopReadScope, userTopRead, "user-top-read", (1 << 11)) \
15
+ SPT_SCOPE(SPTUGCImageUploadScope, ugcImageUpload, "ugc-image-upload", (1 << 12)) \
16
+ SPT_SCOPE(SPTStreamingScope, streaming, "streaming", (1 << 13)) \
17
+ SPT_SCOPE(SPTAppRemoteControlScope, appRemoteControl, "app-remote-control", (1 << 14)) \
18
+ SPT_SCOPE(SPTUserReadPlaybackStateScope, userReadPlaybackState, "user-read-playback-state", (1 << 15)) \
19
+ SPT_SCOPE(SPTUserModifyPlaybackStateScope, userModifyPlaybackState, "user-modify-playback-state", (1 << 16)) \
20
+ SPT_SCOPE(SPTUserReadCurrentlyPlayingScope, userReadCurrentlyPlaying, "user-read-currently-playing", (1 << 17)) \
21
+ SPT_SCOPE(SPTUserReadRecentlyPlayedScope, userReadRecentlyPlayed, "user-read-recently-played", (1 << 18)) \
22
+ SPT_SCOPE(SPTOpenIdScope, openid, "openid", (1 << 19))
23
+
24
+ /**
25
+ `SPTScope` represents the OAuth scopes that declare how your app wants to access a user's account.
26
+ See https://developer.spotify.com/web-api/using-scopes/ for more information.
27
+ */
28
+ typedef NS_OPTIONS(NSUInteger, SPTScope)
29
+ {
30
+ /// Read access to user's private playlists.
31
+ SPTPlaylistReadPrivateScope NS_SWIFT_NAME(playlistReadPrivate) = (1 << 0),
32
+ /// Include collaborative playlists when requesting a user's playlists.
33
+ SPTPlaylistReadCollaborativeScope NS_SWIFT_NAME(playlistReadCollaborative) = (1 << 1),
34
+ /// Write access to a user's public playlists.
35
+ SPTPlaylistModifyPublicScope NS_SWIFT_NAME(playlistModifyPublic) = (1 << 2),
36
+ /// Write access to a user's private playlists.
37
+ SPTPlaylistModifyPrivateScope NS_SWIFT_NAME(playlistModifyPrivate) = (1 << 3),
38
+ /// Read access to the list of artists and other users that the user follows.
39
+ SPTUserFollowReadScope NS_SWIFT_NAME(userFollowRead) = (1 << 4),
40
+ /// Write/delete access to the list of artists and other users that the user follows.
41
+ SPTUserFollowModifyScope NS_SWIFT_NAME(userFollowModify) = (1 << 5),
42
+ /// Read access to a user's "Your Music" library.
43
+ SPTUserLibraryReadScope NS_SWIFT_NAME(userLibraryRead) = (1 << 6),
44
+ /// Write/delete access to a user's "Your Music" library.
45
+ SPTUserLibraryModifyScope NS_SWIFT_NAME(userLibraryModify) = (1 << 7),
46
+ /// Read access to the user's birthdate.
47
+ SPTUserReadBirthDateScope NS_SWIFT_NAME(userReadBirthDate) = (1 << 8),
48
+ /// Read access to user’s email address.
49
+ SPTUserReadEmailScope NS_SWIFT_NAME(userReadEmail) = (1 << 9),
50
+ /// Read access to user’s subscription details (type of user account).
51
+ SPTUserReadPrivateScope NS_SWIFT_NAME(userReadPrivate) = (1 << 10),
52
+ /// Read access to a user's top artists and tracks.
53
+ SPTUserTopReadScope NS_SWIFT_NAME(userTopRead) = (1 << 11),
54
+ /// Upload user generated content images
55
+ SPTUGCImageUploadScope NS_SWIFT_NAME(ugcImageUpload) = (1 << 12),
56
+ /// Control playback of a Spotify track.
57
+ SPTStreamingScope NS_SWIFT_NAME(streaming) = (1 << 13),
58
+ /// Use App Remote to control playback in the Spotify app
59
+ SPTAppRemoteControlScope NS_SWIFT_NAME(appRemoteControl) = (1 << 14),
60
+ /// Read access to a user’s player state.
61
+ SPTUserReadPlaybackStateScope NS_SWIFT_NAME(userReadPlaybackState) = (1 << 15),
62
+ /// Write access to a user’s playback state
63
+ SPTUserModifyPlaybackStateScope NS_SWIFT_NAME(userModifyPlaybackState) = (1 << 16),
64
+ /// Read access to a user’s currently playing track
65
+ SPTUserReadCurrentlyPlayingScope NS_SWIFT_NAME(userReadCurrentlyPlaying) = (1 << 17),
66
+ /// Read access to a user’s currently playing track
67
+ SPTUserReadRecentlyPlayedScope NS_SWIFT_NAME(userReadRecentlyPlayed) = (1 << 18),
68
+ /// Indicate that the application intends to use OIDC to verify the user's identity
69
+ SPTOpenIdScope NS_SWIFT_NAME(openid) = (1 << 19),
70
+ };
71
+
@@ -0,0 +1,32 @@
1
+ #import "SPTScope.h"
2
+
3
+ NS_ASSUME_NONNULL_BEGIN
4
+
5
+
6
+ /// The `SPTSession` represents an authenticated Spotify user session.
7
+ @interface SPTSession : NSObject <NSSecureCoding>
8
+
9
+ /// The access token of the authenticated user.
10
+ @property (nonatomic, readonly, copy) NSString *accessToken;
11
+
12
+ /// The refresh token.
13
+ @property (nonatomic, readonly, copy) NSString *refreshToken;
14
+
15
+ /// The expiration date of the access token.
16
+ @property (nonatomic, readonly, copy) NSDate *expirationDate;
17
+
18
+ /// The scope granted.
19
+ @property (nonatomic, readonly) SPTScope scope;
20
+
21
+ /**
22
+ Check whether the session has expired. `YES` if expired; `NO` otherwise.
23
+ Note: The session is considered expired once the current date and time is equal to or greater than the expiration date and time.
24
+ */
25
+ @property (nonatomic, readonly, getter=isExpired) BOOL expired;
26
+
27
+ - (instancetype)init NS_UNAVAILABLE;
28
+
29
+ @end
30
+
31
+
32
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,140 @@
1
+ #import <UIKit/UIKit.h>
2
+ #import "SPTScope.h"
3
+
4
+ NS_ASSUME_NONNULL_BEGIN
5
+
6
+ @class SPTConfiguration, SPTSession;
7
+ @protocol SPTSessionManagerDelegate;
8
+
9
+ /// Options for determining the most suitable method for authorization
10
+ typedef NS_OPTIONS(NSUInteger, SPTAuthorizationOptions)
11
+ {
12
+ /// Authorize using a suitable method. If Spotify is installed the app will be used instead of a web view
13
+ SPTDefaultAuthorizationOption NS_SWIFT_NAME(default) = (0),
14
+ /// Authorize using only the Spotify client. If Spotify is not installed authorization will fail.
15
+ SPTClientAuthorizationOption NS_SWIFT_NAME(clientOnly) = (1 << 0),
16
+ } NS_SWIFT_NAME(AuthorizationOptions);
17
+
18
+ typedef NSString * const SPTAuthorizationCode;
19
+
20
+
21
+ /// This class manages a Spotify user session, in the form of `SPTSession`.
22
+ @interface SPTSessionManager : NSObject
23
+
24
+ /// The `SPTSession` for the `SPTSessionManager` to manage. If no user has been authenticated this will be nil
25
+ @property (nullable, nonatomic, strong) SPTSession *session;
26
+
27
+ /// The `SPTSessionManagerDelegate` to notify of initiating a session, renewing a session, and/or errors related to a session
28
+ @property (nullable, nonatomic, weak) id <SPTSessionManagerDelegate> delegate;
29
+
30
+ /**
31
+ Determine if the Spotify app is installed.
32
+
33
+ Will be `YES` if the Spotify app is installed (and the URL scheme is whitelisted), otherwise is `NO`.
34
+ Note: You must whitelist the "spotify" URL scheme in your info.plist LSApplicationQueriesSchemes or this will always be NO
35
+ */
36
+ @property (nonatomic, readonly, getter=isSpotifyAppInstalled) BOOL spotifyAppInstalled;
37
+
38
+ /**
39
+ Set this value to `YES` when debugging to have the Spotify app always show the authorization confirmation screen.
40
+ You SHOULD NOT set this value to `YES` in production or your users will always have to confirm.
41
+ */
42
+ @property (nonatomic, assign) BOOL alwaysShowAuthorizationDialog;
43
+
44
+ - (instancetype)init NS_UNAVAILABLE;
45
+
46
+ /**
47
+ Initiate the authorization process on iOS 11 and later.
48
+
49
+ @param scope The scope to request, e.g. `SPTPlaylistReadPrivateScope`|`SPTUserReadEmailScope` if you wish to request read access to private playlists, and read access to the user's email address.
50
+ @param options Options bitmask that informs authorization behavior.
51
+ See `SPTSessionManagerDelegate` for messages regarding changes in session state.
52
+ */
53
+ - (void)initiateSessionWithScope:(SPTScope)scope
54
+ options:(SPTAuthorizationOptions)options NS_AVAILABLE_IOS(11_0);
55
+
56
+ /**
57
+ Initiate the authorization process on iOS versions < 11.
58
+
59
+ @param scope The scope to request, e.g. `SPTPlaylistReadPrivateScope`|`SPTUserReadEmailScope` if you wish to request read access to private playlists, and read access to the user's email address.
60
+ @param options Options bitmask that informs authorization behavior.
61
+ @param presentingViewController The `UIViewController` to present the login `SFSafariViewController` on
62
+ See `SPTSessionManagerDelegate` for messages regarding changes in session state.
63
+ */
64
+ - (void)initiateSessionWithScope:(SPTScope)scope
65
+ options:(SPTAuthorizationOptions)options
66
+ presentingViewController: (UIViewController *)presentingViewController NS_DEPRECATED_IOS(9_0, 11_0);
67
+
68
+ /// Attempt to renew the access token, using the refresh token in the current `SPTSession` which must be valid.
69
+ - (void)renewSession;
70
+
71
+ /**
72
+ Create an `SPTSessionManager` with the provided configuration.
73
+
74
+ @param configuration An `SPTConfiguration` object.
75
+ @param delegate An optional delegate conforming to `SPTSessionManagerDelegate`.
76
+ @return An `SPTSessionManager` with the desired configuration.
77
+ */
78
+ - (instancetype)initWithConfiguration:(SPTConfiguration *)configuration
79
+ delegate:(nullable id <SPTSessionManagerDelegate>)delegate;
80
+
81
+ + (instancetype)sessionManagerWithConfiguration:(SPTConfiguration *)configuration
82
+ delegate:(nullable id <SPTSessionManagerDelegate>)delegate;
83
+ /**
84
+ Handle openURL callbacks from the `AppDelegate`
85
+
86
+ @param application The `UIApplication` passed into the matching `AppDelegate` method
87
+ @param URL The URL to attempt to parse the access token from
88
+ @param options The options passed in to the matching `AppDelegate` method
89
+ @return Returns `YES` if `SPTSessionManager` recognizes the URL and will attempt to parse an access token, otherwise returns `NO`.
90
+ */
91
+ - (BOOL)application:(UIApplication *)application
92
+ openURL:(NSURL *)URL
93
+ options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options;
94
+
95
+ @end
96
+
97
+ /// The `SPTSessionManagerDelegate` to use for monitoring state changes of a `SPTSessionManager`
98
+ @protocol SPTSessionManagerDelegate <NSObject>
99
+
100
+ /**
101
+ This message is sent when a session has been initiated successfully.
102
+
103
+ @param manager The `SPTSessionManager` that initiated the session.
104
+ @param session The initiated `SPTSession` object.
105
+ */
106
+ - (void)sessionManager:(SPTSessionManager *)manager didInitiateSession:(SPTSession *)session NS_SWIFT_NAME(sessionManager(manager:didInitiate:));
107
+
108
+ /**
109
+ This message is sent when the manager failed to initiate or renew a session.
110
+
111
+ @param manager The `SPTSessionManager` instance.
112
+ @param error The `NSError` that occured.
113
+ */
114
+ - (void)sessionManager:(SPTSessionManager *)manager didFailWithError:(NSError *)error NS_SWIFT_NAME(sessionManager(manager:didFailWith:));
115
+
116
+ @optional
117
+
118
+ /**
119
+ This message is sent when the manager has renewed a session.
120
+
121
+ @param manager The `SPTSessionManager` instance.
122
+ @param session The renewed `SPTSession` object.
123
+ */
124
+ - (void)sessionManager:(SPTSessionManager *)manager didRenewSession:(SPTSession *)session NS_SWIFT_NAME(sessionManager(manager:didRenew:));
125
+
126
+ /**
127
+ Sent when the `SPTSessionManager` has obtained an authorization code,
128
+ and is about to swap it for an access token. If you wish to handle this
129
+ yourself, return `NO` and use the provided authorization code.
130
+
131
+ @param manager The `SPTSessionManager` instance.
132
+ @param code An OAuth authorization code.
133
+ @return `NO` to request the access token yourself; `YES` to let `SPTSessionManager` handle it.
134
+ */
135
+ - (BOOL)sessionManager:(SPTSessionManager *)manager shouldRequestAccessTokenWithAuthorizationCode:(SPTAuthorizationCode)code NS_SWIFT_NAME(sessionManager(manager:shouldRequestAccessTokenWith:));
136
+
137
+ @end
138
+
139
+
140
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,30 @@
1
+ #import <Foundation/Foundation.h>
2
+
3
+ #ifndef _SPOTIFYAPPREMOTE_
4
+ #define _SPOTIFYAPPREMOTE_
5
+
6
+ #import "SPTAppRemote.h"
7
+ #import "SPTAppRemoteCommon.h"
8
+
9
+ #import "SPTAppRemoteConnectionParams.h"
10
+
11
+ #import "SPTAppRemoteImageAPI.h"
12
+ #import "SPTAppRemotePlayerAPI.h"
13
+ #import "SPTAppRemoteUserAPI.h"
14
+ #import "SPTAppRemoteContentAPI.h"
15
+
16
+ #import "SPTAppRemoteAlbum.h"
17
+ #import "SPTAppRemoteArtist.h"
18
+ #import "SPTAppRemotePlaybackOptions.h"
19
+ #import "SPTAppRemotePlaybackRestrictions.h"
20
+ #import "SPTAppRemotePlayerState.h"
21
+ #import "SPTAppRemoteCrossfadeState.h"
22
+ #import "SPTAppRemoteTrack.h"
23
+ #import "SPTAppRemoteUserCapabilities.h"
24
+ #import "SPTAppRemoteLibraryState.h"
25
+ #import "SPTAppRemoteContentItem.h"
26
+ #import "SPTAppRemotePodcastPlaybackSpeed.h"
27
+
28
+ #import "SPTConfiguration.h"
29
+
30
+ #endif /* _SPOTIFYAPPREMOTE_ */
@@ -0,0 +1,7 @@
1
+ #ifndef _SPOTIFYIOS_
2
+ #define _SPOTIFYIOS_
3
+
4
+ #import "SpotifyAppRemote.h"
5
+ #import "SPTLogin.h"
6
+
7
+ #endif /* _SPOTIFYIOS_ */
@@ -0,0 +1,6 @@
1
+ framework module SpotifyiOS {
2
+ umbrella header "SpotifyiOS.h"
3
+
4
+ export *
5
+ module * { export * }
6
+ }