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
The variable path1 is /data/user/0/com.example.project_name/app_flutter/uploads/upload.pdf. I can confirm that the file exists, since I am reading in on other places as well.
The error I receive is:
java.lang.IllegalArgumentException: Failed to find configured root that contains /data/user/0/com.example.project_name/app_flutter/uploads/upload.pdf
E/MethodChannel#flutter_email_sender( 4008): at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:744)
E/MethodChannel#flutter_email_sender( 4008): at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:418)
E/MethodChannel#flutter_email_sender( 4008): at com.sidlatau.flutteremailsender.FlutterEmailSenderPlugin.sendEmail(FlutterEmailSenderPlugin.kt:102)
E/MethodChannel#flutter_email_sender( 4008): at com.sidlatau.flutteremailsender.FlutterEmailSenderPlugin.onMethodCall(FlutterEmailSenderPlugin.kt:41)
E/MethodChannel#flutter_email_sender( 4008): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226)
E/MethodChannel#flutter_email_sender( 4008): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#flutter_email_sender( 4008): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631)
The text was updated successfully, but these errors were encountered:
Hi and thanks for your work!
My Flutter and Dart versions are:
I want to send an email with a PDF/PNG/JPG as attachment(s).
My application downloads dynamically files from the internet and then I want to build a "share" button. My code is very simple:
The variable path1 is
/data/user/0/com.example.project_name/app_flutter/uploads/upload.pdf
. I can confirm that the file exists, since I am reading in on other places as well.The error I receive is:
The text was updated successfully, but these errors were encountered: