We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When exporting csv file, error is coming regarding the permissions allowed by user. `E/flutter ( 6444): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PathAccessException: Cannot open file, path = '/storage/emulated/0/taskly/tasks.csv' (OS Error: Operation not permitted, errno = 1)
E/flutter ( 6444): #0 _checkForErrorResponse (dart:io/common.dart:55:9)
E/flutter ( 6444): #1 _File.open. (dart:io/file_impl.dart:381:7)
E/flutter ( 6444):
E/flutter ( 6444): #2 _File.writeAsBytes. (dart:io/file_impl.dart:634:34)
E/flutter ( 6444): #3 _HomeScreenState.exportToCSV (package:taskly/screens/home_screen.dart:194:3)
E/flutter ( 6444): `
To Reproduce Steps to reproduce the behavior:
Expected behavior The app should first ask runtime storage permission from the user and then move further if permission is granted.
Smartphone (please complete the following information):
Additional context In IOS, the app by default has access to its own folder and therefore no such error occurs in IOS.
The text was updated successfully, but these errors were encountered:
sommye-ctr
Successfully merging a pull request may close this issue.
Describe the bug
When exporting csv file, error is coming regarding the permissions allowed by user.
`E/flutter ( 6444): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PathAccessException: Cannot open file, path = '/storage/emulated/0/taskly/tasks.csv' (OS Error: Operation not permitted, errno = 1)
E/flutter ( 6444): #0 _checkForErrorResponse (dart:io/common.dart:55:9)
E/flutter ( 6444): #1 _File.open. (dart:io/file_impl.dart:381:7)
E/flutter ( 6444):
E/flutter ( 6444): #2 _File.writeAsBytes. (dart:io/file_impl.dart:634:34)
E/flutter ( 6444):
E/flutter ( 6444): #3 _HomeScreenState.exportToCSV (package:taskly/screens/home_screen.dart:194:3)
E/flutter ( 6444):
E/flutter ( 6444): `
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app should first ask runtime storage permission from the user and then move further if permission is granted.
Smartphone (please complete the following information):
Additional context
In IOS, the app by default has access to its own folder and therefore no such error occurs in IOS.
The text was updated successfully, but these errors were encountered: