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
321 stars 369 forks source link

Can't share photo in ios #293

Open Sergelenchimeg opened 2 months ago

Sergelenchimeg commented 2 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 :)