Files
config-plugins/packages/react-native-pdf
Evan Bacon 5de4ae3e61 ci: fix versions [skip ci] (#53)
* chore(android-jsc-intl): fix version

* chore(detox): fix version

* chore(ffmpeg-kit-react-native): fix version

* chore(ios-stickers): fix version

* chore(react-native-adjust): fix version

* chore(react-native-ble-plx): fix version

* chore(react-native-blob-util): fix version

* chore(react-native-branch): fix version

* chore(react-native-callkeep): fix version

* chore(react-native-dynamic-app-icon): fix version

* chore(react-native-google-cast): fix version

* chore(react-native-pdf): fix version

* chore(react-native-quick-actions): fix version

* chore(react-native-webrtc): fix version
2022-03-15 18:57:32 -05:00
..
2022-03-15 22:45:47 +00:00
2022-03-15 18:57:32 -05:00

config-plugins/react-native-pdf

Config plugin to auto configure react-native-pdf when the native code is generated (expo prebuild).

Add the package to your npm dependencies

Tested against Expo SDK 44

yarn add react-native-pdf react-native-blob-util fbjs @config-plugins/react-native-pdf @config-plugins/react-native-blob-util

After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js:

{
  "expo": {
    "plugins": [
      "@config-plugins/react-native-blob-util",
      "@config-plugins/react-native-pdf"
    ]
  }
}

Next, rebuild your app as described in the "Adding custom native code" guide.

This plugin is Android-only, and adds packaging options to the android/app/build.gradle dangerously.