Currently I am working on flutter to download videos from server on to user's device like udemy, so that they can download and watch videos. It's working fine in debug mode but when i am running it in profile mode it's not working. I think i am not asking for permission that may be a reason why it's not working. To test this i added permission_handler package but it is giving me this error
C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler_android-10.2.0\android\src\main\java\com\baseflow\permissionhandler\PermissionManager.java:469: error: cannot find symbol
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
The problem is we cannot upgrade our sdk as we need lower sdk for our targeted users. I am trying to find out if there is any way we can ask storage permission either without the permission_handler or any work around with the same package.
Thanks in advance.