1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-29 04:07:37 +02:00

Android: Support autofill in Fennec F-Droid (#483)

The F-Droid build of Firefox (Fennec) has a different package name.
This name needs to be explicitly listed in order for autofill support to
work correctly.
This commit is contained in:
Dustin C. Hatch 2019-04-12 19:32:58 +00:00 committed by Kyle Spearrin
parent 54a109345b
commit 6c59bf8717
3 changed files with 8 additions and 3 deletions

View File

@ -32,8 +32,9 @@ namespace Bit.Android.Autofill
"com.google.android.apps.chrome","com.google.android.apps.chrome_dev","com.yandex.browser",
"com.sec.android.app.sbrowser","com.sec.android.app.sbrowser.beta","org.codeaurora.swe.browser",
"com.amazon.cloud9","mark.via.gp","org.bromite.bromite","org.chromium.chrome","com.kiwibrowser.browser",
"com.ecosia.android","com.opera.mini.native.beta","org.mozilla.fennec_aurora","com.qwant.liberty",
"com.opera.touch","org.mozilla.fenix","org.mozilla.reference.browser","org.mozilla.rocket"
"com.ecosia.android","com.opera.mini.native.beta","org.mozilla.fennec_aurora","org.mozilla.fennec_fdroid",
"com.qwant.liberty", "com.opera.touch","org.mozilla.fenix","org.mozilla.reference.browser",
"org.mozilla.rocket"
};
// The URLs are blacklisted from autofilling
@ -180,4 +181,4 @@ namespace Bit.Android.Autofill
responseBuilder.SetSaveInfo(saveBuilder.Build());
}
}
}
}

View File

@ -49,6 +49,7 @@ namespace Bit.Android
new Browser("org.mozilla.firefox", "url_bar_title"),
new Browser("org.mozilla.firefox_beta", "url_bar_title"),
new Browser("org.mozilla.fennec_aurora", "url_bar_title"),
new Browser("org.mozilla.fennec_fdroid", "url_bar_title"),
new Browser("org.mozilla.focus", "display_url"),
new Browser("org.mozilla.klar", "display_url"),
new Browser("org.mozilla.fenix", "mozac_browser_toolbar_url_view"),

View File

@ -36,6 +36,9 @@
<compatibility-package
android:name="org.mozilla.fennec_aurora"
android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="org.mozilla.fennec_fdroid"
android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="org.mozilla.firefox"
android:maxLongVersionCode="10000000000"/>