react-native-macos/local-cli
Leland Richardson e9398c7926 Whitelist the 'pdf' extension in the packager
Summary:The WebView component in iOS currently does not support displaying PDFs without providing a remote URI or manually including the assets in the xcodeproj itself. This is because the packager has not whitelisted the 'pdf' extension.

I've gone ahead and whitelisted the 'pdf extension according to the recommendation by nicklockwood

GH comment: https://github.com/facebook/react-native/issues/1846#issuecomment-199302488
Closes https://github.com/facebook/react-native/pull/7004

Differential Revision: D3196019

Pulled By: nicklockwood

fb-gh-sync-id: 10a86a9232095f98f277506141de0b8af5b21ab4
fbshipit-source-id: 10a86a9232095f98f277506141de0b8af5b21ab4
2016-04-19 03:52:27 -07:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle Remove socket interface from buildBundle command 2016-04-11 09:23:29 -07:00
dependencies Remove socket interface from dependencies command 2016-04-11 09:23:29 -07:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator Honor the version of "react" under peerDeps when setting up a new project 2016-04-07 00:07:21 -07:00
generator-android E2e android 2016-04-13 08:20:05 -07:00
generator-ios increased timeout for ios e2e test and fixed --js e2e after ios e2e 2016-04-14 04:30:00 -07:00
library Introduce react-native link 2015-10-27 11:22:28 -07:00
runAndroid CHORE - Remove Trailing Spaces 2016-04-06 09:21:53 -07:00
runIOS Make iOS project path configurable by parameter in run-ios cli command 2016-04-01 08:03:20 -07:00
server Whitelist the 'pdf' extension in the packager 2016-04-19 03:52:27 -07:00
upgrade Move `react` to peerDependencies 2016-02-09 15:38:37 -08:00
util Have parseCommandLine use a new instance of optimist for each run 2016-04-08 12:09:22 -07:00
cli.js Transform packager src files in cli entry point 2016-04-11 12:43:25 -07:00
default.config.js react app root path can be override by env var 'react_native_app_root' 2016-04-07 07:39:22 -07:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js flowconfig adds flow/ folder 2016-03-21 06:26:34 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Return non-zero exit code from wrong-react-native 2016-01-05 15:22:59 -08:00