Issue on Login Success callback Method_userPrivate.product = NULL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cause:
On user login(initiated by using Spotify WebAPIs) when we receive the login success callback method we are getting the variable(declared in userPrivate class) “product as null” instead of premium.
Additional Details:
1. Spotify API - curl -X GET "https://api.spotify.com/v1/me"
2. Spotify Response –
private SpotifyApi spotifyApi= new SpotifyApi();
private SpotifyService spotifyService;
spotifyService = spotifyApi.getService();
spotifyService.getMe(new Callback<UserPrivate>() {
@Override
public void success(UserPrivate userPrivate, retrofit.client.Response response) {
Note : We are getting userPrivate.product as NULL
}
3.Spotify web-api library:
compile 'com.github.kaaes:spotify-web-api-android:0.4.1'
- Labels:
-
bug
-
Spotify Web API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page