here Im using Receive_share_intent package to receive data from other apps it works perfetctly on android but in IOS when i share in IOS it Opens the app but no data has been passed it doesn't triggered the StreamSubcriber too Package: receive_sharing_intent this the package i have been using to receive data
here the i try to get value from the ReceiveSharingIntent to _textReceiveIntent for text and _mediaReceiveIntent for media files but both are not getting any values fuctions not event triggered will null or [] empty
_intentDataStreamSubscription =
ReceiveSharingIntent.getTextStream().listen((String value) {
_textReceiveIntent(value);
}, onError: (err) {
print("getLinkStream error: $err");
});
ReceiveSharingIntent.getInitialText().then((String? value) {
_textReceiveIntent(value);
});
// Listen image/video Stream - while app is in foreground
_intentDataStreamSubscription = ReceiveSharingIntent.getMediaStream()
.listen((List<SharedMediaFile> value) {
_mediaReceiveIntent(value);
}, onError: (err) {
print("getIntentDataStream error: $err");
});
//fetch image/video - while resume from terminate state
ReceiveSharingIntent.getInitialMedia().then((List<SharedMediaFile> value) {
_mediaReceiveIntent(value);
});
here What i expecting is receive data from ReceiveSharingIntent to value pass through the respective medium functions