1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-25 16:47:55 +01:00

Resync autofill compatibility package list with values from AutofillHelpers (#834)

This commit is contained in:
Matt Portune 2020-04-15 13:58:00 -04:00 committed by GitHub
parent ed259cd130
commit 41997d5fe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 17 deletions

View File

@ -25,25 +25,34 @@ namespace Bit.Droid.Autofill
}; };
// These browsers work using the compatibility shim for the autofill framework // These browsers work using the compatibility shim for the autofill framework
// Be sure to keep this in sync with values in Resources/xml/autofillservice.xml
public static HashSet<string> CompatBrowsers = new HashSet<string> public static HashSet<string> CompatBrowsers = new HashSet<string>
{ {
"org.mozilla.firefox", "com.android.browser",
"org.mozilla.firefox_beta",
"com.microsoft.emmx",
"com.android.chrome", "com.android.chrome",
"com.chrome.beta", "com.chrome.beta",
"com.android.browser", "com.chrome.dev",
"com.brave.browser", "com.chrome.canary",
"com.microsoft.emmx",
"com.opera.browser", "com.opera.browser",
"com.opera.browser.beta", "com.opera.browser.beta",
"com.opera.mini.native", "com.opera.mini.native",
"com.chrome.dev", "com.opera.mini.native.beta",
"com.chrome.canary", "com.opera.touch",
"com.sec.android.app.sbrowser",
"com.sec.android.app.sbrowser.beta",
"org.mozilla.fennec_aurora",
"org.mozilla.fennec_fdroid",
"org.mozilla.firefox",
"org.mozilla.firefox_beta",
"org.mozilla.fenix",
"org.mozilla.fenix.nightly",
"org.mozilla.reference.browser",
"org.mozilla.rocket",
"com.brave.browser",
"com.google.android.apps.chrome", "com.google.android.apps.chrome",
"com.google.android.apps.chrome_dev", "com.google.android.apps.chrome_dev",
"com.yandex.browser", "com.yandex.browser",
"com.sec.android.app.sbrowser",
"com.sec.android.app.sbrowser.beta",
"org.codeaurora.swe.browser", "org.codeaurora.swe.browser",
"com.amazon.cloud9", "com.amazon.cloud9",
"mark.via.gp", "mark.via.gp",
@ -51,15 +60,7 @@ namespace Bit.Droid.Autofill
"org.chromium.chrome", "org.chromium.chrome",
"com.kiwibrowser.browser", "com.kiwibrowser.browser",
"com.ecosia.android", "com.ecosia.android",
"com.opera.mini.native.beta",
"org.mozilla.fennec_aurora",
"org.mozilla.fennec_fdroid",
"com.qwant.liberty", "com.qwant.liberty",
"com.opera.touch",
"org.mozilla.fenix",
"org.mozilla.fenix.nightly",
"org.mozilla.reference.browser",
"org.mozilla.rocket",
"org.torproject.torbrowser", "org.torproject.torbrowser",
"com.vivaldi.browser", "com.vivaldi.browser",
"com.vivaldi.browser.snapshot", "com.vivaldi.browser.snapshot",

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<!-- Be sure to keep this in sync with values in AutofillHelpers.CompatBrowsers -->
<autofill-service xmlns:android="http://schemas.android.com/apk/res/android"> <autofill-service xmlns:android="http://schemas.android.com/apk/res/android">
<compatibility-package
android:name="com.android.browser"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="com.android.chrome" android:name="com.android.chrome"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
@ -27,6 +31,9 @@
<compatibility-package <compatibility-package
android:name="com.opera.mini.native.beta" android:name="com.opera.mini.native.beta"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.opera.touch"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="com.sec.android.app.sbrowser" android:name="com.sec.android.app.sbrowser"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
@ -90,7 +97,16 @@
<compatibility-package <compatibility-package
android:name="com.ecosia.android" android:name="com.ecosia.android"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.qwant.liberty"
android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="org.torproject.torbrowser"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="com.vivaldi.browser" android:name="com.vivaldi.browser"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.vivaldi.browser.snapshot"
android:maxLongVersionCode="10000000000"/>
</autofill-service> </autofill-service>