@wwdrew/expo-spotify-sdk 0.4.1 → 0.4.3
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.
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'expo.modules.spotifysdk'
|
|
4
|
-
version = '0.1.
|
|
4
|
+
version = '0.1.1'
|
|
5
5
|
|
|
6
6
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
7
|
apply from: expoModulesCorePlugin
|
|
@@ -35,7 +35,7 @@ android {
|
|
|
35
35
|
namespace "expo.modules.spotifysdk"
|
|
36
36
|
defaultConfig {
|
|
37
37
|
versionCode 1
|
|
38
|
-
versionName "0.1.
|
|
38
|
+
versionName "0.1.1"
|
|
39
39
|
}
|
|
40
40
|
lintOptions {
|
|
41
41
|
abortOnError false
|
|
@@ -43,7 +43,6 @@ android {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
dependencies {
|
|
46
|
-
implementation 'androidx.browser:browser:1.8.0'
|
|
47
46
|
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
|
|
48
|
-
implementation
|
|
47
|
+
implementation "com.spotify.android:auth:2.1.2"
|
|
49
48
|
}
|
|
@@ -56,9 +56,9 @@ class ExpoSpotifySDKModule : Module() {
|
|
|
56
56
|
val packageInfo =
|
|
57
57
|
context.packageManager.getPackageInfo(context.packageName, PackageManager.GET_META_DATA)
|
|
58
58
|
val applicationInfo = packageInfo.applicationInfo
|
|
59
|
-
val metaData = applicationInfo
|
|
60
|
-
val clientId = metaData
|
|
61
|
-
val redirectUri = metaData
|
|
59
|
+
val metaData = applicationInfo?.metaData
|
|
60
|
+
val clientId = metaData?.getString("spotifyClientId")
|
|
61
|
+
val redirectUri = metaData?.getString("spotifyRedirectUri")
|
|
62
62
|
|
|
63
63
|
requestConfig = config
|
|
64
64
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwdrew/expo-spotify-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Expo Module for native Spotify SDK",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"plugin/build",
|
|
27
27
|
"build",
|
|
28
28
|
"android",
|
|
29
|
-
"external/android/SpotifySDK/auth-lib/spotify-auth-release-2.1.0.aar",
|
|
30
29
|
"ios",
|
|
31
30
|
"app.plugin.js",
|
|
32
31
|
"expo-module.config.json",
|
|
@@ -52,4 +51,4 @@
|
|
|
52
51
|
"react": "*",
|
|
53
52
|
"react-native": "*"
|
|
54
53
|
}
|
|
55
|
-
}
|
|
54
|
+
}
|
|
Binary file
|