@wwdrew/expo-spotify-sdk 0.4.2 → 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.
|
@@ -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",
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
"react": "*",
|
|
52
52
|
"react-native": "*"
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}
|