In my android app I'm using volley android library to fetch data from my web server. Currently I have insecure(no ssl) http server. So I'm making requests using URL "http://www.example.com".
Now I'm planning to add ssl to my server. So my server address is going to change(redirect) to "https://www.example.com". I will update my current app to use HTTPS, however my old app that users are already using, will still be using HTTP URLs. As far as I know, volley android does not handle redirects. So I wonder how am I going to not break old android app, while redirecting http to https.
Update: As mentioned in the comments, this question is more likely asking for a backward compatibility(not breaking old app with http url) solution. Hence, I believe this question is different than Android volley to handle redirect