react-native-pdf 6.3.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +44 -70
  2. package/android/.gradle/5.6.1/fileChanges/last-build.bin +0 -0
  3. package/android/.gradle/5.6.1/fileHashes/fileHashes.lock +0 -0
  4. package/android/.gradle/5.6.1/gc.properties +0 -0
  5. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  6. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  7. package/android/.gradle/vcs-1/gc.properties +0 -0
  8. package/android/src/main/java/org/wonday/pdf/PdfView.java +21 -2
  9. package/index.d.ts +1 -2
  10. package/index.js +20 -46
  11. package/index.js.flow +2 -2
  12. package/ios/RCTPdf/RCTPdfView.h +2 -0
  13. package/ios/RCTPdf/RCTPdfView.m +17 -4
  14. package/ios/RCTPdf/RCTPdfViewManager.m +1 -1
  15. package/ios/RCTPdf.xcodeproj/xcuserdata/wonday.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  16. package/package.json +21 -6
  17. package/windows/README.md +4 -8
  18. package/.babelrc +0 -3
  19. package/.github/workflows/windows-ci.yml +0 -39
  20. package/example/.eslintrc.js +0 -4
  21. package/example/PDFExample.js +0 -180
  22. package/example/__windows_tests__/TestPDF.js +0 -43
  23. package/example/android/app/BUCK +0 -55
  24. package/example/android/app/build.gradle +0 -210
  25. package/example/android/app/build_defs.bzl +0 -19
  26. package/example/android/app/proguard-rules.pro +0 -10
  27. package/example/android/app/src/debug/AndroidManifest.xml +0 -8
  28. package/example/android/app/src/main/AndroidManifest.xml +0 -26
  29. package/example/android/app/src/main/assets/test.pdf +0 -0
  30. package/example/android/app/src/main/java/com/pdfexample/MainActivity.java +0 -15
  31. package/example/android/app/src/main/java/com/pdfexample/MainApplication.java +0 -49
  32. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  33. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  34. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  35. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  36. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  37. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  38. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  39. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  40. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  41. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  42. package/example/android/app/src/main/res/values/strings.xml +0 -3
  43. package/example/android/app/src/main/res/values/styles.xml +0 -9
  44. package/example/android/build.gradle +0 -38
  45. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  46. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  47. package/example/android/gradle.properties +0 -21
  48. package/example/android/gradlew +0 -188
  49. package/example/android/gradlew.bat +0 -100
  50. package/example/android/settings.gradle +0 -3
  51. package/example/app.json +0 -4
  52. package/example/babel.config.js +0 -3
  53. package/example/index.js +0 -9
  54. package/example/ios/PDFExample/AppDelegate.h +0 -15
  55. package/example/ios/PDFExample/AppDelegate.m +0 -42
  56. package/example/ios/PDFExample/Base.lproj/LaunchScreen.xib +0 -42
  57. package/example/ios/PDFExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  58. package/example/ios/PDFExample/Images.xcassets/Contents.json +0 -6
  59. package/example/ios/PDFExample/Info.plist +0 -57
  60. package/example/ios/PDFExample/main.m +0 -16
  61. package/example/ios/PDFExample-tvOS/Info.plist +0 -53
  62. package/example/ios/PDFExample-tvOSTests/Info.plist +0 -24
  63. package/example/ios/PDFExample.xcodeproj/project.pbxproj +0 -923
  64. package/example/ios/PDFExample.xcodeproj/xcshareddata/xcschemes/PDFExample-tvOS.xcscheme +0 -129
  65. package/example/ios/PDFExample.xcodeproj/xcshareddata/xcschemes/PDFExample.xcscheme +0 -129
  66. package/example/ios/PDFExample.xcworkspace/contents.xcworkspacedata +0 -10
  67. package/example/ios/PDFExampleTests/Info.plist +0 -24
  68. package/example/ios/PDFExampleTests/PDFExampleTests.m +0 -68
  69. package/example/ios/Podfile +0 -47
  70. package/example/ios/Podfile.lock +0 -205
  71. package/example/jest-windows/driver.setup.js +0 -12
  72. package/example/jest-windows/jest.setup.js +0 -1
  73. package/example/jest.windows.config.js +0 -4
  74. package/example/metro.config.js +0 -29
  75. package/example/package.json +0 -48
  76. package/example/test.pdf +0 -0
  77. package/example/windows/PDFExample/App.cpp +0 -80
  78. package/example/windows/PDFExample/App.h +0 -20
  79. package/example/windows/PDFExample/App.idl +0 -3
  80. package/example/windows/PDFExample/App.xaml +0 -10
  81. package/example/windows/PDFExample/Assets/LockScreenLogo.scale-200.png +0 -0
  82. package/example/windows/PDFExample/Assets/SplashScreen.scale-200.png +0 -0
  83. package/example/windows/PDFExample/Assets/Square150x150Logo.scale-200.png +0 -0
  84. package/example/windows/PDFExample/Assets/Square44x44Logo.scale-200.png +0 -0
  85. package/example/windows/PDFExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png +0 -0
  86. package/example/windows/PDFExample/Assets/StoreLogo.png +0 -0
  87. package/example/windows/PDFExample/Assets/Wide310x150Logo.scale-200.png +0 -0
  88. package/example/windows/PDFExample/AutolinkedNativeModules.g.cpp +0 -18
  89. package/example/windows/PDFExample/AutolinkedNativeModules.g.h +0 -10
  90. package/example/windows/PDFExample/AutolinkedNativeModules.g.props +0 -6
  91. package/example/windows/PDFExample/AutolinkedNativeModules.g.targets +0 -10
  92. package/example/windows/PDFExample/MainPage.cpp +0 -24
  93. package/example/windows/PDFExample/MainPage.h +0 -21
  94. package/example/windows/PDFExample/MainPage.idl +0 -8
  95. package/example/windows/PDFExample/MainPage.xaml +0 -16
  96. package/example/windows/PDFExample/PDFExample.vcxproj +0 -205
  97. package/example/windows/PDFExample/PDFExample.vcxproj.filters +0 -64
  98. package/example/windows/PDFExample/PDFExample_TemporaryKey.pfx +0 -0
  99. package/example/windows/PDFExample/Package.appxmanifest +0 -52
  100. package/example/windows/PDFExample/PropertySheet.props +0 -16
  101. package/example/windows/PDFExample/ReactPackageProvider.cpp +0 -18
  102. package/example/windows/PDFExample/ReactPackageProvider.h +0 -15
  103. package/example/windows/PDFExample/packages.config +0 -5
  104. package/example/windows/PDFExample/pch.cpp +0 -1
  105. package/example/windows/PDFExample/pch.h +0 -29
  106. package/example/windows/PDFExample.sln +0 -264
  107. package/issue_template.md +0 -13
@@ -1,57 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleDisplayName</key>
8
- <string>PDFExample</string>
9
- <key>CFBundleExecutable</key>
10
- <string>$(EXECUTABLE_NAME)</string>
11
- <key>CFBundleIdentifier</key>
12
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
- <key>CFBundleInfoDictionaryVersion</key>
14
- <string>6.0</string>
15
- <key>CFBundleName</key>
16
- <string>$(PRODUCT_NAME)</string>
17
- <key>CFBundlePackageType</key>
18
- <string>APPL</string>
19
- <key>CFBundleShortVersionString</key>
20
- <string>1.0</string>
21
- <key>CFBundleSignature</key>
22
- <string>????</string>
23
- <key>CFBundleVersion</key>
24
- <string>1</string>
25
- <key>LSRequiresIPhoneOS</key>
26
- <true/>
27
- <key>NSAppTransportSecurity</key>
28
- <dict>
29
- <key>NSAllowsArbitraryLoads</key>
30
- <true/>
31
- <key>NSExceptionDomains</key>
32
- <dict>
33
- <key>localhost</key>
34
- <dict>
35
- <key>NSExceptionAllowsInsecureHTTPLoads</key>
36
- <true/>
37
- </dict>
38
- </dict>
39
- </dict>
40
- <key>NSLocationWhenInUseUsageDescription</key>
41
- <string></string>
42
- <key>UILaunchStoryboardName</key>
43
- <string>LaunchScreen</string>
44
- <key>UIRequiredDeviceCapabilities</key>
45
- <array>
46
- <string>armv7</string>
47
- </array>
48
- <key>UISupportedInterfaceOrientations</key>
49
- <array>
50
- <string>UIInterfaceOrientationPortrait</string>
51
- <string>UIInterfaceOrientationLandscapeLeft</string>
52
- <string>UIInterfaceOrientationLandscapeRight</string>
53
- </array>
54
- <key>UIViewControllerBasedStatusBarAppearance</key>
55
- <false/>
56
- </dict>
57
- </plist>
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- #import <UIKit/UIKit.h>
9
-
10
- #import "AppDelegate.h"
11
-
12
- int main(int argc, char * argv[]) {
13
- @autoreleasepool {
14
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15
- }
16
- }
@@ -1,53 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>$(EXECUTABLE_NAME)</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>$(PRODUCT_NAME)</string>
15
- <key>CFBundlePackageType</key>
16
- <string>APPL</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>1</string>
23
- <key>LSRequiresIPhoneOS</key>
24
- <true/>
25
- <key>NSAppTransportSecurity</key>
26
- <dict>
27
- <key>NSExceptionDomains</key>
28
- <dict>
29
- <key>localhost</key>
30
- <dict>
31
- <key>NSExceptionAllowsInsecureHTTPLoads</key>
32
- <true/>
33
- </dict>
34
- </dict>
35
- </dict>
36
- <key>NSLocationWhenInUseUsageDescription</key>
37
- <string></string>
38
- <key>UILaunchStoryboardName</key>
39
- <string>LaunchScreen</string>
40
- <key>UIRequiredDeviceCapabilities</key>
41
- <array>
42
- <string>armv7</string>
43
- </array>
44
- <key>UISupportedInterfaceOrientations</key>
45
- <array>
46
- <string>UIInterfaceOrientationPortrait</string>
47
- <string>UIInterfaceOrientationLandscapeLeft</string>
48
- <string>UIInterfaceOrientationLandscapeRight</string>
49
- </array>
50
- <key>UIViewControllerBasedStatusBarAppearance</key>
51
- <false/>
52
- </dict>
53
- </plist>
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>$(EXECUTABLE_NAME)</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>$(PRODUCT_NAME)</string>
15
- <key>CFBundlePackageType</key>
16
- <string>BNDL</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>1</string>
23
- </dict>
24
- </plist>