我遇到了一些问题,从安卓模拟器获得与FireBase互动的请求。我最后设置了
android:usesCleartextTraffic="true"
在清单文件中。
快速搜索告诉我,这允许不安全的连接。
Android 6.0 introduced the `useCleartextTraffic` attribute under the application element in the android manifest. The default value in Android P is “false”. Setting this to true indicates that the app intends to use clear network traffic
为了在不设置android:usesCleartextTraffic="true"
的情况下部署我的应用程序,我必须做什么?