Open yeagle2468 opened 3 months ago
"storage" permissions always returns "denied" on Android 13+, but the code in EdScreenRecorderPlugin.java below :
if (ContextCompat.checkSelfPermission(flutterPluginBinding.getApplicationContext(), Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
ActivityCompat.requestPermissions(activity, new String[]{ Manifest.permission.WRITE_EXTERNAL_STORAGE}, 444); } else { mediaPermission = true; } if (micPermission && mediaPermission) { success = startRecordingScreen(); }
means mediaPermission is always false Android 13+
How to resolve this issue?
"storage" permissions always returns "denied" on Android 13+, but the code in EdScreenRecorderPlugin.java below :
if (ContextCompat.checkSelfPermission(flutterPluginBinding.getApplicationContext(), Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
means mediaPermission is always false Android 13+