Adding the permission <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> to the manifest makes it possible to read gwc files on my S10 running Android 12.
Adding the permission to the manifest makes it possible to read gwc files on my S10 running Android 12.