-
Notifications
You must be signed in to change notification settings - Fork 31
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 see files on iOS, It shows just a grey screen with the file name on it. #31
Comments
Hi,
You have to use the name param or extension
Because Now the preview doesn’t know the file type
‘’’
window.PreviewAnyFile.previewPath(
win => console.log("open status",win),
error => console.error("open failed", error),
"http://www.domain.com/samplefile",{name : file.pdf}
);
‘’’
Regards,
…___________________________
Mostafa Mansour
Software Engineer
00971 524988466
0020 1113019196
On 23 Jul 2021, at 1:12 PM, Bhavin Vadhiya ***@***.***> wrote:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#31>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSFOB7RKAZNJZV2PGE5YGDTZFFAZANCNFSM5A3ZVEMQ>.
|
I'm also facing the same issue, tried it with both
if it makes any difference, the url is from S3 bucket and i'm testing this on emulator |
you are sure that name: $scope.document.fileName has the .pdf in the last? |
this soln helped me, i was using an encoded URL, i had to just update it to |
thanks for sharing the solution with me |
The text was updated successfully, but these errors were encountered: