giandifra / simple_share

A Flutter plugin for share image, video or file
MIT License
18 stars 15 forks source link

Failed to find configured root that contains error #9

Open javico2609 opened 5 years ago

javico2609 commented 5 years ago

file exist in /data/data/com.example.chaco_digital_app/app_flutter/chacoDigital_365656565657.png but return this error.

Failed to find configured root that contains /data/data/com.example.chaco_digital_app/app_flutter/chacoDigital_365656565657.png

final String dir = (await getApplicationDocumentsDirectory()).path;
    final String path = '$dir/chacoDigital_${widget.data.transaction}.png';
    final uri = Uri.file(path);
    SimpleShare.share(
      uri: uri.toString(),
      title: "Chaco Digital",
      msg: widget.data.shareText,
    );
Veeraharikumar commented 5 years ago

Same Issue for me but why there is no action taken by the maintainer???