I am trying to integrate CCAvenue payment gateway onto my android application. For that, I downloaded their integration kit and used it. But, the kit that is available currently imports org.apache.http and uses its functionalities like httppost, namevaluepair, etc. So, my question is, as mentioned here, is it alright to make below mentioned changes in the gradle and continue using deprecated libraries?
android {
useLibrary 'org.apache.http.legacy'
}
Put this code snippet in ServiceHandler class , you don''t need to use legacy. You can change their code as per your requirement those are just samples.