payu-intrepos / PayUCheckoutPro-Android

PayUCheckoutPro SDK for Android
9 stars 9 forks source link

Manifest merger failed : Attribute application@usesCleartextTraffic value=(true) #5

Closed goswamiji0 closed 3 years ago

goswamiji0 commented 3 years ago

Getting below error Manifest merger failed : Attribute application@usesCleartextTraffic value=(true) from AndroidManifest.xml:21:9-44 is also present at [com.payu.custombrowser:payu-custom-browser:7.6.3] AndroidManifest.xml:17:18-54 value=(false). Suggestion: add 'tools:replace="android:usesCleartextTraffic"' to element at AndroidManifest.xml:12:5-64:19 to override.

But i also want to use android:usesCleartextTraffic=true in my application

Rahul-Hooda commented 3 years ago

@goswamiji0 - You can override it with tools:replace as mentioned above but PayU doesn't recommend to use http urls for Security concerns and doesn't recommend to set it to true. .