소스 검색

Opt out of WebView metrics and disable Google Safe Browsing

cf. https://developer.android.com/guide/webapps/managing-webview
arkon 3 년 전
부모
커밋
3e403d5ab3
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      app/src/main/AndroidManifest.xml

+ 5 - 0
app/src/main/AndroidManifest.xml

@@ -198,6 +198,11 @@
                 android:resource="@xml/provider_paths" />
         </provider>
 
+        <meta-data android:name="android.webkit.WebView.EnableSafeBrowsing"
+            android:value="false" />
+        <meta-data android:name="android.webkit.WebView.MetricsOptOut"
+            android:value="true" />
+
     </application>
 
 </manifest>