I check permissions in runtime. The post on stackoverflow is about internal storage, not sdcard. This is different access. But I have huawei phone with android 9. I will try it. Or is it related to android 8.1 only?
Btw, internal storage works fine? I mean, for example /storage/emulated/0/Games
What comes on my mind is that sdcard permission granted in global settings is lost after restart or so and should be re-granted. This I dont check in runtime.