spotify / android-sdk

Spotify SDK for Android
https://developer.spotify.com/documentation/android/
Apache License 2.0
473 stars 120 forks source link

Not working with Published Android Application #242

Closed champrocks3190 closed 4 years ago

champrocks3190 commented 4 years ago

Thanks for your interest in the Spotify App Remote SDK! If you're submitting a bug, please use the following template. If your issue is a feature request, please include your use-case so that we have all the necessary info.

Issue found on DATE. 24 APRIL

SDK Version: 0.7.0

OS Version: Android 8

Scope(s): API request fails

Steps to reproduce:

  1. works with debug apk
  2. not work with published apk

Expected behaviour: App should work with both HASH key debug and PUBLIC KEY

Actual behaviour: App was working fine with debug ,than i uploaded i have added all hash sha1 keys to DASHBOARD after submit app to playstore , application don't get response. Im using remote sdk

Error:

 Caused by: com.spotify.protocol.client.error.RemoteClientException: {"message":"ACCOUNTS_INVALID_APP_ID:INVALID_REQUEST: Invalid app identifier (iOS Bundle ID, Android Key Hash)"}

In Andorid Packages section i have added all SHA1 Fingerprint and package name as in my firebase console .

champrocks3190 commented 4 years ago

I an using Remote SDK for Andorid

champrocks3190 commented 4 years ago

After 3 hours i found that , Its case sensitive for Android packages . need to put SHA1 IN CAPITAL AS IT IS .