Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Make Android passkey auth and create screens translucent to prevent host app to cancel request (#1969)
Leendert de Borst571d8c765101
diff --git a/apps/mobile-app/android/app/src/main/AndroidManifest.xml b/apps/mobile-app/android/app/src/main/AndroidManifest.xmlindex b623d2fa3..4456043e2 100644--- a/apps/mobile-app/android/app/src/main/AndroidManifest.xml+++ b/apps/mobile-app/android/app/src/main/AndroidManifest.xml@@ -41,7 +41,8 @@<activityandroid:name=".credentialprovider.PasskeyAuthenticationActivity"android:exported="false"- android:theme="@style/PasskeyRegistrationTheme" />+ android:theme="@style/PasskeyRegistrationTheme"+ android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboardHidden|uiMode|fontScale|density" /><!-- Passkey Registration Activity --><activity@@ -49,7 +50,8 @@android:exported="false"android:theme="@style/PasskeyRegistrationTheme"android:windowSoftInputMode="adjustResize"- android:fitsSystemWindows="true" />+ android:fitsSystemWindows="true"+ android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboardHidden|uiMode|fontScale|density" /><!-- PIN Unlock Activity --><activitydiff --git a/apps/mobile-app/android/app/src/main/res/values-night/styles.xml b/apps/mobile-app/android/app/src/main/res/values-night/styles.xmlindex f7b01f604..cc962162f 100644--- a/apps/mobile-app/android/app/src/main/res/values-night/styles.xml+++ b/apps/mobile-app/android/app/src/main/res/values-night/styles.xml@@ -22,6 +22,14 @@<item name="android:windowDrawsSystemBarBackgrounds">true</item><item name="android:windowLightStatusBar">false</item><item name="android:windowLightNavigationBar">false</item>+ <!--+ windowIsTranslucent keeps the calling app's activity in onPause rather than onStop+ while our credential-provider UI is on top. Some apps (X.com) cancel their+ CredentialManager request when their activity goes to onStop, so without this+ flag the request is killed mid-biometric. The activity remains visually opaque+ because its content view supplies its own background.+ -->+ <item name="android:windowIsTranslucent">true</item></style><!-- Dark mode splash screen theme -->diff --git a/apps/mobile-app/android/app/src/main/res/values/styles.xml b/apps/mobile-app/android/app/src/main/res/values/styles.xmlindex 36fdc5cce..3be6b3720 100644--- a/apps/mobile-app/android/app/src/main/res/values/styles.xml+++ b/apps/mobile-app/android/app/src/main/res/values/styles.xml@@ -21,6 +21,14 @@<item name="android:windowDrawsSystemBarBackgrounds">true</item><item name="android:windowLightStatusBar">true</item><item name="android:windowLightNavigationBar">true</item>+ <!--+ windowIsTranslucent keeps the calling app's activity in onPause rather than onStop+ while our credential-provider UI is on top. Some apps (X.com) cancel their+ CredentialManager request when their activity goes to onStop, so without this+ flag the request is killed mid-biometric. The activity remains visually opaque+ because its content view supplies its own background.+ -->+ <item name="android:windowIsTranslucent">true</item></style><style name="PinNumpadButton" parent="Widget.MaterialComponents.Button"><item name="android:layout_width">0dp</item>