vinzscam / react-native-file-viewer

Native file viewer for React Native. Preview any type of file supported by the mobile device.
MIT License
434 stars 102 forks source link

blank page shown in ios #148

Closed MAYILERUMPERUMAL closed 1 year ago

MAYILERUMPERUMAL commented 1 year ago

using document picker to picked the file and i click to view the file file is shown but few seconds click the same file file content will be not shown blank white page shown

Dhaval1905 commented 1 year ago

I am also facing the same issue is IOS.

simulator_screenshot_413464AC-A0C1-4373-8C25-C1E3B5CC3D8A

HadiKhalifeh commented 1 year ago

Hello @MAYILERUMPERUMAL , @Dhaval1905 any update ?

najamulsaqib commented 1 year ago

Any update @HadiKhalifeh @MAYILERUMPERUMAL @Dhaval1905

MAYILERUMPERUMAL commented 1 year ago

@najamulsaqib @HadiKhalifeh yes i'm completed this issue, in document picker response data two type of url one is uri and another one is fileCopyUri uri is temporavery only using this url to shown documents and images shown few seconds only so using fileCopyUrl is permanent url so if you are document picker use fileCopUrl .. thank you