bitwarden / mobile

Retired Bitwarden mobile app for iOS and Android (MAUI/Xamarin).
https://bitwarden.com
GNU General Public License v3.0
123 stars 19 forks source link

Android App moved to SD card does not start up #1018

Closed 2W7hoXGHg0yHjgppyu6xgoOuZ3N8FmMmsKLH4mS closed 4 years ago

2W7hoXGHg0yHjgppyu6xgoOuZ3N8FmMmsKLH4mS commented 4 years ago

Describe the Bug

Android App moved to SD card instead of Internal storage does not start up.

Steps To Reproduce

  1. Install Bitwarden from Google Play Store
  2. Open the Bitwarden App: all is ok. So installation was successful.
  3. Open Android phone Settings -> Apps - > Bitwarden
  4. Click on Storage -> Change
  5. Select 'SD card' (it was previously 'Internal storage')
  6. Press 'Move'
  7. Open Bitwarden App: it flickers and do not start up

Expected Result

Bitwarden App should work even if moved to 'SD card' storage

Actual Result

Bitwarden App moved to SD card does not work / start up.

Environment

Phone

mpbw2 commented 4 years ago

Due to inherent limitations with running on external storage we don't support it.

@cscharf We don't specify the installLocation in the manifest, which normally means the system should default to internalOnly. However I'm not sure if EMUI respects that default so we may need to be explicit about it by adding android:installLocation="internalOnly" within application in the Android manifest.

Additional details: https://developer.android.com/guide/topics/data/install-location