destiny
destiny copied to clipboard
Update `compileSdkVersion` to 33
From the current build we get some warnings:
...
Warning: The plugin permission_handler_android requires Android SDK version 33.
...
Warning: The plugin url_launcher_android requires Android SDK version 33.
...
These should be fixed when updating to compileSdkVersion
to 33
.
I have tried some time ago and there were issues with permission on Android, when saving or downloading file. It require more time to look in this change.
Original task: OP 2233. If Destiny Android app compiled to sdk=33, then I get permission issued if I want to send or receive file
I/flutter (15876): PlatformException(4, Permission to read files not granted, , null)
E/flutter (15876): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(4, Permission to read files not granted, , null)
E/flutter (15876): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
E/flutter (15876): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18)
E/flutter (15876): <asynchronous suspension>
E/flutter (15876): #2 FutureExtensions.onError.<anonymous closure> (dart:async/future.dart:1014:15)
E/flutter (15876): <asynchronous suspension>
E/flutter (15876):
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions