-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(android/app): Temporarily disable Keyman browser #8428
Conversation
User Test ResultsTest specification and instructions
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM I guess?
Here's how I setup Keyman for Android to allow for a custom CA for use with the Fiddler proxy: diff --git a/android/KMAPro/kMAPro/src/main/AndroidManifest.xml b/android/KMAPro/kMAPro/src/main/AndroidManifest.xml
index 6acb4d9da..e5e1393ed 100644
--- a/android/KMAPro/kMAPro/src/main/AndroidManifest.xml
+++ b/android/KMAPro/kMAPro/src/main/AndroidManifest.xml
@@ -19,6 +19,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:usesCleartextTraffic="true"
+ android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme"
android:supportsRtl="true">
<receiver android:name=".NetworkStateReceiver"
diff --git a/android/KMAPro/kMAPro/src/main/res/xml/network_security_config.xml b/android/KMAPro/kMAPro/src/main/res/xml/network_security_config.xml
new file mode 100644
index 000000000..ad83b21d7
--- /dev/null
+++ b/android/KMAPro/kMAPro/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<network-security-config>
+ <base-config>
+ <trust-anchors>
+ <!-- Trust preinstalled CAs -->
+ <certificates src="system" />
+ <!-- HERE: Additionaly trus user added CAs -->
+ <certificates src="user"/>
+ </trust-anchors>
+ </base-config>
+</network-security-config>
\ No newline at end of file |
Will redo towards 17.0 alpha |
Test Results
..in Portrait view ..in Landscape view |
An idea toward replacing / reworking the functionality, longterm: #2159 (comment) |
From A17S20 planning meeting, we'll go ahead and close this. |
and also replace with https://github.com/keymanapp/keyman-browser |
We may need to re-implement this as Play Store has been blocking stable builds since |
Intermediary step towards #2159
This PR temporarily disable access to the in-app browser (Keeps the Keyman app account agonistic)
User Testing
Setup
Install the PR build of Keyman for Android