0

I am trying to capture apis triggered from native app and website through Charles proxy / Fiddler , But I am not able to see any api there.

I have set manual proxy as well.

I am able to see apis for Android 8 and below . But not working for Android 9 .

In Android 9 , I could the screens getting loaded completely , but still I am not able to see the apis in any monitor.

  • https://stackoverflow.com/questions/53368470/emulator-with-android-9-configuration-shows-connection-error – Athira Jan 31 '19 at 04:40
  • @Athira , Its not working . I am not seeing the apis after implementing the properties and network_security_config.xml file. – Srinivasan G Jan 31 '19 at 05:41
  • in AndroidManifest.xml add – Athira Jan 31 '19 at 08:51
  • Possible duplicate of [How to get charles proxy work with Android 7 nougat?](https://stackoverflow.com/questions/39215229/how-to-get-charles-proxy-work-with-android-7-nougat). Especially check this answer: https://stackoverflow.com/a/39227880/150978 – Robert Feb 04 '19 at 19:40

1 Answers1

0

Add android:usesCleartextTraffic="true" in AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="your pckag">

    <uses-permission android:name="android.permission.INTERNET" />


    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        android:usesCleartextTraffic="true">
</manifest>
ADM
  • 20,406
  • 11
  • 52
  • 83
Athira
  • 1,177
  • 3
  • 13
  • 35