I encountered a problem using your library on Android 4.4 devices, since Strava only accepts TLS1.2, which is not activated by default on Android 4.
I did not want to use GooglePlay Services to update it (my app is also distributed in china, where GPS is not available), I then add to modify the OkHttp client configuration you use with Retrofit.
I encountered a problem using your library on Android 4.4 devices, since Strava only accepts TLS1.2, which is not activated by default on Android 4.
I did not want to use GooglePlay Services to update it (my app is also distributed in china, where GPS is not available), I then add to modify the OkHttp client configuration you use with Retrofit.
I did this using this StackOverflow answer : https://stackoverflow.com/questions/45202267/android-4-1-to-4-4-kitkat-enable-tls-1-2-for-api
I slightly modified it to avoid usage of deprecated sslFactory setter on client, as described in OkHttp javadoc.