【问题标题】:Android - API visible using charls proxy in release app - How to secure api details in release app?Android - 在发布应用程序中使用 charls 代理可见 API - 如何在发布应用程序中保护 api 详细信息?
【发布时间】:2021-01-03 07:51:41
【问题描述】:

在我的发布应用程序中,我可以使用 charls 获取 api 详细信息。但是在其他应用程序中,charls 会在 api 详细信息的情况下显示未知。

我怎样才能达到同样的效果?我需要保护 api。

AndroidManifest

<application
        android:allowBackup="true"
        android:icon="@drawable/app_icon"
        android:label="@string/app_name"
        android:networkSecurityConfig="@xml/network_config"
        android:roundIcon="@drawable/app_icon"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        android:usesCleartextTraffic="false">

【问题讨论】:

    标签: android charles-proxy


    【解决方案1】:

    我只需要在基本 url 中使用 https 而不是 http

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-09-24
      • 1970-01-01
      • 2017-12-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-15
      • 2021-03-24
      相关资源
      最近更新 更多