You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I share the file via email, the file is sent along with the title and text. But when I share it on WhatsApp the file is not sent and also the title is not sent.
my code:
`var status = await Permission.storage.request();
if (status.isGranted) {
final baseStorge = await getExternalStorageDirectory();
final file = '${baseStorge!.path}/$fileName';
final response = await Dio().download(url, file);
if (response.statusCode == 200) {
final share = await FlutterShare.shareFile(
title: 'Proposta: $taskTitulo',
text: 'Cliente: $taskClienteName',
filePath: file,
);
if (share == true) {
NotificationService().showNotification(
title: 'Proposta Guardado',
body: 'A sua proposta "$taskTitulo", foi guardado com sucesso.',
);
}
} else {
myMessage("ERROR!⛔.");
}`
The text was updated successfully, but these errors were encountered:
When I share the file via email, the file is sent along with the title and text. But when I share it on WhatsApp the file is not sent and also the title is not sent.
my code:
`var status = await Permission.storage.request();
if (status.isGranted) {
final baseStorge = await getExternalStorageDirectory();
The text was updated successfully, but these errors were encountered: