Closed hiral1987 closed 1 year ago
Anyone pls provide solution to this
Could you share the code snippet including the file path that you provide? I assume something is wrong with the path you provide.
I have already shared filepath & code snippet on github which i tried.
You can use same code to reproduce.
Thanks & Regards, Hiral Dharod
On Tue, Apr 18, 2023, 17:13 Volodymyr Buberenko @.***> wrote:
Could you share the code snippet including the file path that you provide? I assume something is wrong with the path you provide.
— Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/plus_plugins/issues/1664#issuecomment-1512934820, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD72PS6CMZQSIOBVHXHNZE3XBZ46HANCNFSM6AAAAAAWQI7BUA . You are receiving this because you authored the thread.Message ID: @.***>
I have already shared filepath & code snippet on github which i tried.
I can't reproduce as I clearly explained that I assume that the issue is in file paths you provide and your snippet has no info on what is _imageList
and which items you have in that list. Can't help you without a proper full sample to reproduce.
Ok. I wil share filePath which i used to store images
Thanks & Regards, Hiral Dharod
On Wed, Apr 26, 2023, 16:47 Volodymyr Buberenko @.***> wrote:
I have already shared filepath & code snippet on github which i tried.
I can't reproduce as I clearly explained that I assume that the issue is in file paths you provide and your snippet has no info on what is _imageList and which items you have in that list. Can't help you without a proper full sample to reproduce.
— Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/plus_plugins/issues/1664#issuecomment-1523247228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD72PS4NMRKAQYTD6RVBGWDXDD743ANCNFSM6AAAAAAWQI7BUA . You are receiving this because you authored the thread.Message ID: @.***>
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days
Platform
Android 12
Plugin
share_plus
Version
6.3.1
Flutter SDK
3.0.0
Steps to reproduce
Save image on your external storage for eg : /sdcard/NotesApp/1679229095384.jpg. Then call Share.shareFiles or Share.XFiles & pass image path.
i got below error
E/flutter ( 7334): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(Share failed, '/sdcard/NotesApp/1679229095384.jpg': The source file doesn't exist., null, null) E/flutter ( 7334): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7) E/flutter ( 7334): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315:18) E/flutter ( 7334):
Code Sample
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean