rides-android-sdk icon indicating copy to clipboard operation
rides-android-sdk copied to clipboard

GET "time" returns TimeEstimatesResponse containing empty arraylist (TimeEstimate)

Open buddhasaikia opened this issue 7 years ago • 0 comments

Sometimes the following api returns empty array list (timeEstimatesResponse.getTimes().size() returns 0) even if Uber service is available at the selected location.

@GET("/v1/estimates/time")
    Call<TimeEstimatesResponse> getPickupTimeEstimate(@Query("start_latitude") float var1, @Query("start_longitude") float var2, @Nullable @Query("product_id") String var3);

Is it a bug? What could be the reason? Any help would be highly appreciated!

buddhasaikia avatar May 29 '17 07:05 buddhasaikia