LN-Zap / zap-android

Zap Wallet - Native android lightning wallet for node operators focused on user experience and ease of use ⚡️
MIT License
165 stars 49 forks source link

Switch http client (Replace volley with okHttp) #349

Closed michaelWuensch closed 3 years ago

michaelWuensch commented 3 years ago

Description

This PR switches the http client. We now use okHttp instead of volley.

Motivation and Context

With volley it was not possible to force the connection to use a proxy. If the connection failed, volley just made a fallback to use no proxy. For the upcoming Tor update we want to make sure that all traffic can be forced to use Tor or fail. With okHttp this is possible.

How Has This Been Tested?

On my S9

Types of changes

Checklist: