Retrofit 2 not sending data when ProGuard is enabled
问题 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 anymore. (See log outputs) Sample code : User Model : public interface UserService { @GET(GET_LOGIN) Observable<User> login(@Header("Authorization") String basic); } Login Activity : public void onClick(View v) { mRetrofit.create(UserService.class) .login(Credentials.basic(email, password)) .subscribeOn(Schedulers.io())