I try to login my users using Retrofit 2. (Basically a GET to the login URL with a basic header) It works well but once I ProGuard it, the Header Authorization is not sent a
You need to add
@SerializedName("yourInputParameter")
in your bean(model) class for your request body
For example
public class YourClass{
@SerializedName("yourInputParameter") String yourInputParameter;
...
}
it will work
because now retrofit unable to read your request body because proguard(minifyEnabled) is true
after adding @SerializedName in your request body it will definitely work for you