Open exp-3 opened 2 years ago
I have the same issue but only on my Android 11 device.
I confirm I can reproduce the issue of no file shown by import ssh key inapp browser in Android Studio 4.1.1 AVD with "Nexus 5X API 30 x86" (Android 11) with MGit 1.6.2 and the issue is not there with an emulated "Nexus 5X API 29 x86" (Android 10). The issue is still there on ColorOS 12 (Android 12) to which I recently upgraded.
I found a workaround, rename the key file to
This is due not Google Play Store only giving "multimedia files access" to MGit. There is an FDroid version 1.6.3 which has access to all files, which should fix this issue.
I also encountered the same issue. Would mind @prahal share with us on what could be the possible reason why google only gives it "multimedia files access"?
@joneldominic this is a known issue. Google Play store decides if an application is tagged to have access to all files. MGit has been refused this access even after numerous attempts from MGit author to comply with undisclosed requirements (and it could even be that it is totally arbitrary on the Google Play Store decision side). This Google Play store restriction is only enforced in the newest Android versions. Thuswhy it starts with Android 11. The F-Droid MGit has full access tagged so it is able to access files that are not multimedia files only.
For the complete attempt to fix Google Play Store MGit permissions #620
In fact, as told in this bug report this will be fixed because Google Play Store next version will be only for Android below 11. One will have to install from F-Droid otherwise.
By the way this bug could be closed per the issue is fixed. Install from F-Droid. One matter that might prevent that is if it is not possible to upgrade. Private keys stored in the application space will get lost if one uninstalls and installs.
This is understood. Thank you.
Browsing for files displays only folders, not files.