uber-java-client
uber-java-client copied to clipboard
A java wrapper for Uber's REST API for Android and Java applications
The following constructor is not setting server access token, I can fix it : ``` public UberClient(String serverToken, RestAdapter.LogLevel logLevel) { this(null, null, null, null, null, false, logLevel); } ```
java.lang.NullPointerException: Attempt to invoke virtual method 'int retrofit.client.Response.getStatus()' on a null object reference at com.victorsima.uber.UberClient$2.handleError(UberClient.java:102) at retrofit.CallbackRunnable.run(CallbackRunnable.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at retrofit.Platform$Android$2$1.run(Platform.java:142) at java.lang.Thread.run(Thread.java:818) happens when phone is not...
- Add version param in method signature - Implement the following json fields in UserHistory model obj: ``` json { "start_city":{ "latitude":37.7749295, "display_name":"San Francisco", "longitude":-122.4194155 }, "request_id":"37d57a99-2647-4114-9dd2-c43bccf4c30b", "currency_code":"USD" } ```