Parcourir la source

Opt out of WebView metrics and disable Google Safe Browsing

cf. https://developer.android.com/guide/webapps/managing-webview
arkon il y a 3 ans
Parent
commit
3e403d5ab3
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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>