15 Apr 2022 |
cde | Did you mean to bump it for nearby, we also need to bump fdroidclient? | 18:47:57 |
cde | or maybe you meant just that list | 18:49:07 |
cde | NGENGE SENIOR: if you bump only nearby to 30, add requestLegacyStorage , what else would it need to work? Just nearby, forget client. | 18:49:36 |
NGENGE SENIOR | In reply to @cdesai:matrix.org
requestLegacyStorage will work with 30 From what I have seen, this will not work for 30. Read the below caution from the Android developer documentation.
Caution: After you update your app to target Android 11 (API level 30), the system ignores the requestLegacyExternalStorage attribute when your app is running on Android 11 devices, so your app must be ready to support scoped storage and to migrate app data for users on those devices.
You can check https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage .
Targeting 30 means you must actually be ready for scoped storage
| 18:55:32 |
NGENGE SENIOR | In reply to @cdesai:matrix.org
requestLegacyStorage will work with 30 * From what I have seen, this will not work for 30. Read the below caution from the Android developer documentation.
Caution: After you update your app to target Android 11 (API level 30), the system
ignores the requestLegacyExternalStorage attribute when your app is
running on Android 11 devices, so your app must be ready to support
scoped storage and to migrate app data for users on those devices.
You can check https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage .
Targeting 30 means you must actually be ready for scoped storage
| 18:55:42 |
NGENGE SENIOR | In reply to @cdesai:matrix.org or maybe you meant just that list I will need to work on the same issue on the client. | 18:57:00 |
cde | I'm so sorry, I mixed things up again. | 18:58:54 |
cde | https://gitlab.com/AuroraOSS/AuroraStore/-/blob/master/app/src/main/AndroidManifest.xml#L28 | 19:00:50 |
cde | this targets 31 right now, requests access to all files, and works fine | 19:01:07 |
cde | so you can do the same for now I'd say | 19:01:12 |
NGENGE SENIOR | The whole thing about scoped storage is really stupid and makes things unnecessarily complicated. I don't know how Google comes up with these | 19:01:31 |
cde | for most apps it makes sense | 19:01:40 |
NGENGE SENIOR | In reply to @cdesai:matrix.org this targets 31 right now, requests access to all files, and works fine Okay. Let me check it. Thanks | 19:01:45 |
cde | even our app, why should fdroid have access to all files | 19:01:48 |
cde | https://gitlab.com/AuroraOSS/AuroraStore/-/blob/master/app/src/main/java/com/aurora/store/view/ui/onboarding/PermissionsFragment.kt#L143 here it asks the user to enable the permission | 19:02:12 |
cde | Intent(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION) | 19:02:19 |
cde | I'm hoping that this part is a quick thing, so you can get all the other work done as needed for sdk 30 (or even 31) | 19:06:25 |
cde | and then we can circle back to this and fix it properly | 19:06:30 |
NGENGE SENIOR | In reply to @cdesai:matrix.org
Intent(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION) Yes definitely | 19:16:26 |
namazso | jochensp: i ended up implementing signing after all, in the most terrible way possible: https://pastebin.com/bUZuaGDu | 19:32:10 |
namazso | it passes jarsigner -verify | 19:32:33 |
jochensp | nice :) | 19:33:26 |
Licaon_Kter[xmpp] | _hc: | 19:35:59 |
Licaon_Kter[xmpp] | > <Licaon_Kter[xmpp]> "azure-1000 after reboot it's now..." <- donno what happened, I think I got it going again. | 19:35:59 |
Licaon_Kter[xmpp] | Will check asap, thanks | 19:35:59 |
_hc | azure-1000 and buster are running makebuilserver now | 20:17:45 |
Licaon_Kter[xmpp] | _hc: sorry if I keep breaking them, then again I hope we learn something out of these issues :P | 20:48:47 |
16 Apr 2022 |
proletarius101 | And helps a lot for user privacy and security. Apps just arbitrarily scan personal files without any consents. | 00:18:41 |
namazso | can i ask in index v1 why there's sig which is hex(md5(hex(signer_cert_as_der))) and signer which is hex(sha256(signer_cert_as_der)) ? | 03:54:56 |
jochensp | namazso: I don't know, maybe check the git history | 03:58:53 |