I'm using Google Cloud API to fetch some posts from Blogger into my android app. I'm using Volly for requesting. All working fine when there is no Restriction to the API key. But when I Restrict my API key for Android, it stops working and I'm getting:
E/Volley: [89773] NetworkUtility.shouldRetryException: Unexpected response code 403 for https://www.googleapis.com/blogger/v3/blogs/[my blog id]/posts/search?q=[my query]&key=[my API key]
E/onErrorResponse:: com.android.volley.AuthFailureError
Also, I have cross-checked my package name and SHA-1 Key and all are correct.
If I remove the restriction now it again working fine. But I want to Restrict it to my app itself.
How to restrict my key for android in the google cloud console... any help..?