react-native-file-viewer icon indicating copy to clipboard operation
react-native-file-viewer copied to clipboard

Unable to open Excel on Android

Open narumolp opened this issue 2 years ago • 6 comments

I am able to use FileView.open(path) to open files with extensions *docx., *.pdf, but not .xlsx file on android. Currently using Android version 12.

narumolp avatar Mar 29 '22 03:03 narumolp

yes i have same issue

bruser33 avatar Apr 20 '22 01:04 bruser33

found that if your device doesn't have a default file viewer, it will not open. I had to download Microsoft Excel to open it.

my-name-is-nheo avatar Apr 29 '22 15:04 my-name-is-nheo

On the pixel, came with google drives and google docs. was able to open every type of file besides xslx. Sheets won't work, but microsoft excel will. Surprised android doesn't have a default file viewer like iOS

my-name-is-nheo avatar Apr 29 '22 15:04 my-name-is-nheo

better if no defaultapp then Android NEED TO OPEN USING INTENT DEFAULT

fukemy avatar Jun 13 '22 08:06 fukemy

please help me , how to resolve problem @fukemy @narumolp @my-name-is-nheo

NguyenPhuongNam99 avatar Nov 30 '22 10:11 NguyenPhuongNam99

Can you open file pdf or docx ?? @narumolp Please response me ! thank you very much !

NguyenPhuongNam99 avatar Nov 30 '22 10:11 NguyenPhuongNam99