KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
334 stars 395 forks source link

Can't share photo in ios #293

Open Sergelenchimeg opened 6 months ago

Sergelenchimeg commented 6 months ago

version 1.7.0

 intentSub = ReceiveSharingIntent.instance.getMediaStream().listen((value) {
      setState(() {
        sharedFiles
          ..clear()
          ..addAll(value);

        print('here sharedFiles ${sharedFiles.map((f) => f.toMap())}');
      });
    }, onError: (err) {
      print("here getIntentDataStream error: $err");
    });

Tried to share photos from Photos and sharedFiles is always empty when launching the app only in IOS, but it works fine in Android

All configurations are done. Please help :)