-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to share a file from Acrobat Reader on IOS #327
Comments
Please add more information such as what you do receive instead of the expected value (if anything). Are you able to receive any other values such as URLs, Images, etc. |
Hi, When I press the "Send a copy" button from Adobe Acrobat Reader and select our application, the getMediaStream().listen method is triggered correctly. I received a list of one file, as expected, but the path of the file is incorrect. Instead of the real path "/private/var/mobile/Containers/Shared/AppGroup/C8E948A0-DBB6-47FD-A556-5805FDF1170D/Welcome.pdf" I get this string: "Shared via Adobe Acrobat. Get the app to edit, sign, and share PDF files: https://adobeacrobat.app.link/getApp". When I test the same event from Adobe Acrobat Reader and choose a different app, it is handled correctly, and I can see the file. Also if I try to share a file from File Explorer or other apps ("Teams", "Gmail"...etc) to our app, I receive the correct path for the file in the listener of the getMediaStream method. The problem occurs only when I try to share a file from Adobe Acrobat Reader to our application. If you need more details feel free to contact me. |
@DinkoPetrovTinqin unfortunately, I have not been able to get to this yet. Will try it out hopefully some time this week. |
Issue
The library does not receive the correct file name when I try to share a PDF file from the Adobe Acrobat Reader on IOS.
Steps to reproduce
Behaviour
I received "Shared via Adobe Acrobat. Get the app to edit, sign, and share PDF files: https://adobeacrobat.app.link/getApp" as
a path name of the first file in the list of files returned in getMediaStream().listen((List value) method.
ReceiveSharingIntent.instance.getMediaStream().listen((List value) async {
for (final file in value) {
print(file.path);
}
}
Expectation
I should receive the correct file path "/private/var/mobile/Containers/Shared/AppGroup/C8E948A0-DBB6-47FD-A556-5805FDF1170D/Welcome.pdf".
Preconditions
The text was updated successfully, but these errors were encountered: