Skip to content

Commit 9a3cd82

Browse files
authored
Merge pull request #162 from spotify/7.0.0
App-Remote 7.0.0 Release
2 parents f049e46 + d35fbcc commit 9a3cd82

File tree

20 files changed

+1678
-778
lines changed

20 files changed

+1678
-778
lines changed

app-remote-lib/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Version 0.7.0
2+
* Potentially breaking API change in `ContentApi`. The method `getRecommendedContentItems` will now take a `String` as `type`. We are making this change to support new dynamic categories.
3+
* Fixed bug in Track.equals method.
4+
* Fixed java.lang.NoClassDefFoundError: Failed resolution of: Lcom/spotify/android/appremote/api/ConnectionParams$Builder
5+
* Added the method getCrossfadeState in PlayerApi. This method will return the state of the audio Crossfade setting. (Supported in Spotify 8.5.31.398)
6+
* Skip to index - Skip to track at specified index in album or playlist
7+
18
# Version 0.6.3
29

310
**What's New**

app-remote-lib/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ won't be able to get the token back from the Remote SDK. It's also not possible
125125
additional scopes. The Beginner's Tutorial contains an example on
126126
how to use this method.
127127

128-
**Note:** apps cannot be authorized or initiate a connection to start communicating with Spotify unless there is an internet connection.
129-
130128
**Note:** The Spotify Android app must be installed on the user's device in order for the Spotify App Remote SDK to work. Please see the ["Installing Spotify" section](https://developer.spotify.com/documentation/general/guides/content-linking-guide/) of the Content Linking guide on how to direct users to download Spotify.
131129

132130
## Terms of Use
-126 KB
Binary file not shown.
127 KB
Binary file not shown.

app-remote-sample/build.gradle

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description = 'Public App Remote SDK demo app'
2121
*/
2222

2323
apply plugin: 'com.android.application'
24+
apply plugin: 'kotlin-android-extensions'
25+
apply plugin: 'kotlin-android'
2426

2527
android {
2628

@@ -36,6 +38,10 @@ android {
3638
}
3739
}
3840

41+
sourceSets {
42+
main.java.srcDirs += 'src/main/kotlin'
43+
}
44+
3945
defaultConfig {
4046
applicationId 'com.spotify.android.appremote.demo'
4147

@@ -59,6 +65,16 @@ android {
5965
'proguard-rules.pro'
6066
}
6167
}
68+
flavorDimensions "sampleLanguage"
69+
productFlavors {
70+
ktSample {
71+
dimension "sampleLanguage"
72+
}
73+
74+
javaSample {
75+
dimension "sampleLanguage"
76+
}
77+
}
6278

6379
lintOptions {
6480
disable = ['LintError', 'IllegalInvocation']
@@ -80,10 +96,14 @@ repositories {
8096
}
8197

8298
dependencies {
83-
implementation files('../app-remote-lib/spotify-app-remote-release-0.6.3.aar')
99+
implementation files('../app-remote-lib/spotify-app-remote-release-0.7.0.aar')
84100

85-
implementation "com.android.support:appcompat-v7:$supportLibVersion"
86-
implementation "com.android.support:gridlayout-v7:$supportLibVersion"
87-
implementation "com.android.support.constraint:constraint-layout:1.1.3"
101+
implementation "androidx.appcompat:appcompat:$appCompatVersion"
102+
implementation 'androidx.gridlayout:gridlayout:1.0.0'
103+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
104+
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0-rc01"
88105
implementation "com.google.code.gson:gson:2.8.5"
106+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
107+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion"
108+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
89109
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="com.spotify.android.appremote.demo">
5+
6+
<uses-permission android:name="android.permission.INTERNET" />
7+
8+
<application
9+
android:allowBackup="false"
10+
android:exported="true"
11+
android:icon="@drawable/ic_launcher"
12+
android:label="@string/app_name"
13+
android:theme="@style/AppTheme"
14+
tools:ignore="GoogleAppIndexingWarning">
15+
<activity
16+
android:name="com.spotify.sdk.demo.RemotePlayerActivity"
17+
android:exported="true"
18+
android:label="@string/title_activity_remote_java"
19+
android:screenOrientation="portrait"
20+
android:theme="@style/LauncherTheme">
21+
<intent-filter>
22+
<action android:name="android.intent.action.MAIN" />
23+
<category android:name="android.intent.category.LAUNCHER" />
24+
</intent-filter>
25+
</activity>
26+
27+
</application>
28+
</manifest>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="com.spotify.android.appremote.demo">
5+
6+
<uses-permission android:name="android.permission.INTERNET" />
7+
8+
<application
9+
android:allowBackup="false"
10+
android:exported="true"
11+
android:icon="@drawable/ic_launcher"
12+
android:label="@string/app_name"
13+
android:theme="@style/AppTheme"
14+
tools:ignore="GoogleAppIndexingWarning">
15+
<activity
16+
android:name="com.spotify.sdk.demo.kotlin.RemotePlayerKotActivity"
17+
android:exported="true"
18+
android:label="@string/title_activity_remote_kotlin"
19+
android:screenOrientation="portrait"
20+
android:theme="@style/LauncherTheme">
21+
<intent-filter>
22+
<action android:name="android.intent.action.MAIN" />
23+
<category android:name="android.intent.category.LAUNCHER" />
24+
</intent-filter>
25+
</activity>
26+
27+
</application>
28+
</manifest>
Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="com.spotify.android.appremote.demo">
45

56
<uses-permission android:name="android.permission.INTERNET" />
@@ -9,18 +10,7 @@
910
android:exported="true"
1011
android:icon="@drawable/ic_launcher"
1112
android:label="@string/app_name"
12-
android:theme="@style/AppTheme">
13-
<activity
14-
android:name="com.spotify.sdk.demo.RemotePlayerActivity"
15-
android:exported="true"
16-
android:label="@string/title_activity_remote"
17-
android:screenOrientation="portrait"
18-
android:theme="@style/LauncherTheme">
19-
<intent-filter>
20-
<action android:name="android.intent.action.MAIN" />
21-
<category android:name="android.intent.category.LAUNCHER" />
22-
</intent-filter>
23-
</activity>
13+
android:theme="@style/AppTheme"
14+
tools:ignore="GoogleAppIndexingWarning"/>
2415

25-
</application>
26-
</manifest>
16+
</manifest>

app-remote-sample/src/main/java/com/spotify/sdk/demo/Echo.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)