Giter Club home page Giter Club logo

Comments (4)

wonday avatar wonday commented on August 18, 2024

是不是忘记了在AndroidManifest.xml中添加读写SD卡的权限呢?

自动添加:
RNFB_ANDROID_PERMISSIONS=true react-native link react-native-fetch-blob

手动添加:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

from react-native-pdf.

HKbool avatar HKbool commented on August 18, 2024

嗯嗯 好咧,谢谢了,
有的pdf不能打开是不是文件的问题呢。
顺便问一个问题,这个只能打开PDF吗? doc,ppt 等等能打开吗?
谢谢

from react-native-pdf.

wonday avatar wonday commented on August 18, 2024

android上的描画库我曾经遇到过描画不全的现象。主要是底层支持有限。
遇到特殊一点的pdf(比如有多层, 特殊字体等)可能会有问题。

本模块只能打开/描画PDF, doc/ppt等需要转换为pdf使用才可以。
doc/ppt等的打开一般需要安装过专用app, 然后自己程序调用第三方程序打开的方式去打开。
直接内置支持的应该还没有。

from react-native-pdf.

HKbool avatar HKbool commented on August 18, 2024

嗯嗯,好的呢,非常感谢哦

from react-native-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.