A React Native library for previewing any file type supported by the mobile device using native viewers.
react-native-file-viewer is a React Native library that enables developers to open and preview files using the device's native file viewers. It provides a unified API to handle various file types across iOS, Android, and Windows platforms, simplifying file interaction in mobile applications by leveraging native platform capabilities for optimal performance and user experience.
React Native developers building mobile applications that require file preview functionality, such as document viewers, media apps, or any app needing to open user-selected or downloaded files.
Developers choose this library because it offers a simple, promise-based API that abstracts away platform-specific complexities, ensuring consistent file viewing behavior across iOS, Android, and Windows while utilizing each platform's native file viewers for reliability and performance.
Native file viewer for React Native. Preview any type of file supported by the mobile device.
Leverages iOS QuickLook Framework and Android ACTION_VIEW intents to use device-native viewers, ensuring optimal performance and user experience as described in the README's philosophy.
Provides a consistent promise-based JavaScript API for iOS, Android, and Windows, abstracting platform-specific complexities while maintaining a unified interface.
Supports opening files from local paths, Android assets (via copying with react-native-fs), and downloaded URLs, with clear examples in the usage section.
Offers configurable options like showOpenWithDialog and showAppsSuggestions on Android, allowing tailored user interactions as detailed in the API documentation.
Requires adding complex <queries> elements to AndroidManifest.xml for API level 30+, with warnings about Play Store approval, making setup error-prone.
Does not work with Expo managed workflow; projects must eject to bare workflow, limiting its use for teams preferring Expo's simplicity and rapid development.
Lacks built-in file downloading or picking; developers must integrate additional libraries like react-native-fs or react-native-document-picker, increasing project complexity and maintenance.
Relies on native viewers, so file preview experience and options differ across iOS, Android, and Windows, leading to inconsistent user interfaces and potential debugging challenges.
A <Hyperlink /> component for react-native that makes urls, fuzzy links, emails etc clickable
React Native 100% compatible CommonMark renderer
🔠 Responsive fontSize based on screen-size of the device in React-Native
Convert html strings to PDF documents using React Native
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.