payu-intrepos / payumoney-new-sample-app

New Sample App For PayUmoney and PnP SKD integration
40 stars 37 forks source link

The webpage at http://180.179.174.15:3000/pgSimulator/axis/redirectcould not be loaded because: net::ERR_CLEARTEXT_NOT_PERMITTED #38

Closed amarnathbaitha closed 4 years ago

amarnathbaitha commented 5 years ago

It is not working on Android 9 version.

I Added the below line of code now its working fine with Android 9 version.

XXXX
HardikSharma94 commented 5 years ago

Please tell me the solution for this problem I got stuck in the same issue.

jigneshsidd commented 5 years ago

Hey hardik, this helped me https://stackoverflow.com/a/52598806

naviandroid commented 5 years ago

Hello HardikSharma Same error i am facing I have added network_config file in res/xml folder with added this http://xyz Ip address add android:networkSecurityConfig="@xml/network_security_config" line in manifest but i stuck here

HardikSharma94 commented 5 years ago

Please add this line in manifest in application:

android:usesCleartextTraffic="true"

On Mon, 11 Nov 2019, 16:56 naveenAndroid, notifications@github.com wrote:

Hello HardikSharma Same error i am facing I have added network_config file in res/xml folder with added this ### http://xyz Ip address add android:networkSecurityConfig="@xml/network_security_config" line in manifest but i stuck here

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/payu-intrepos/payumoney-new-sample-app/issues/38?email_source=notifications&email_token=AMVQKF5RD6UMD3DOSRY4ILTQTE6PZA5CNFSM4IHQK4P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWQSYA#issuecomment-552405344, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVQKF2EGKND64YUVTVWX3TQTE6PZANCNFSM4IHQK4PQ .

naviandroid commented 5 years ago

yes its already added <application android:name=".BaseApplication" android:hardwareAccelerated="false" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:largeHeap="true" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true" tools:ignore="GoogleAppIndexingWarning" tools:replace="usesCleartextTraffic">

but same error

HardikSharma94 commented 5 years ago

Show me your network file

On Mon, 11 Nov 2019, 17:12 naveenAndroid, notifications@github.com wrote:

yes its already added <application android:name=".BaseApplication" android:hardwareAccelerated="false" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:largeHeap="true" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true" tools:ignore="GoogleAppIndexingWarning" tools:replace="usesCleartextTraffic">

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/payu-intrepos/payumoney-new-sample-app/issues/38?email_source=notifications&email_token=AMVQKF5JFAW7ABMDCUNRD6DQTFALFA5CNFSM4IHQK4P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWR3DY#issuecomment-552410511, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVQKF4OZVGYP6FHJA74MILQTFALFANCNFSM4IHQK4PQ .

naviandroid commented 5 years ago

...........under network-security-config

http://myid
Rahul-Hooda commented 4 years ago

Closing this due to no activity