react-native-pdf 6.7.0 → 6.7.1

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.
package/README.md CHANGED
@@ -169,6 +169,10 @@ react-native run-ios
169
169
  <details>
170
170
  <summary>ChangeLog details</summary>
171
171
 
172
+ v6.7.1
173
+ 1. Fixed: fix ios project setting
174
+ 2. Fixed: fix typo in RNPDFPdfViewManagerInterface interface causing android build error
175
+
172
176
  v6.7.0
173
177
  1. Fixed: fix(iOS): center page at tap point after double tap to zoom
174
178
  2. Fixed: add PDFKit to podspec to make ios compile
@@ -41,11 +41,11 @@ public class RNPDFPdfViewManagerDelegate<T extends View, U extends BaseViewManag
41
41
  mViewManager.setHorizontal(view, value == null ? false : (boolean) value);
42
42
  break;
43
43
  case "showsHorizontalScrollIndicator":
44
- // mViewManager.setShowsHorizontalScrollIndicator(view, value == null ? false : (boolean) value);
44
+ mViewManager.setShowsHorizontalScrollIndicator(view, value == null ? false : (boolean) value);
45
45
  break;
46
46
  case "showsVerticalScrollIndicator":
47
- // mViewManager.setShowsVerticalScrollIndicator(view, value == null ? false : (boolean) value);
48
- break;
47
+ mViewManager.setShowsVerticalScrollIndicator(view, value == null ? false : (boolean) value);
48
+ break;
49
49
  case "enablePaging":
50
50
  mViewManager.setEnablePaging(view, value == null ? false : (boolean) value);
51
51
  break;
@@ -19,8 +19,8 @@ public interface RNPDFPdfViewManagerInterface<T extends View> {
19
19
  void setMinScale(T view, float value);
20
20
  void setMaxScale(T view, float value);
21
21
  void setHorizontal(T view, boolean value);
22
- void showsHorizontalScrollIndicator(T view, boolean value);
23
- void showsVerticalScrollIndicator(T view, boolean value);
22
+ void setShowsHorizontalScrollIndicator(T view, boolean value);
23
+ void setShowsVerticalScrollIndicator(T view, boolean value);
24
24
  void setEnablePaging(T view, boolean value);
25
25
  void setEnableRTL(T view, boolean value);
26
26
  void setEnableAnnotationRendering(T view, boolean value);
@@ -7,12 +7,12 @@
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 5267DA06210F0EDE00D20C59 /* RNPDFPdfView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5267DA03210F0EDD00D20C59 /* RNPDFPdfView.m */; };
11
- 5267DA07210F0EDE00D20C59 /* RNPDFPdfViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 5267DA05210F0EDE00D20C59 /* RNPDFPdfViewManager.m */; };
10
+ 5267DA06210F0EDE00D20C59 /* RNPDFPdfView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5267DA03210F0EDD00D20C59 /* RNPDFPdfView.mm */; };
11
+ 5267DA07210F0EDE00D20C59 /* RNPDFPdfViewManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5267DA05210F0EDE00D20C59 /* RNPDFPdfViewManager.mm */; };
12
12
  5267DA0A210F0F0800D20C59 /* PDFKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5267DA09210F0F0800D20C59 /* PDFKit.framework */; };
13
- 526B80401EABD92200259970 /* RNPDFPdfPageViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 526B803F1EABD92200259970 /* RNPDFPdfPageViewManager.m */; };
14
- 52A324EA1FD3C3FB000B0B18 /* PdfManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 52A324E91FD3C3FB000B0B18 /* PdfManager.m */; };
15
- 52F79DB71EB2DA4F00CAD00C /* RNPDFPdfPageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 52F79DB41EB2DA4F00CAD00C /* RNPDFPdfPageView.m */; };
13
+ 526B80401EABD92200259970 /* RNPDFPdfPageViewManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 526B803F1EABD92200259970 /* RNPDFPdfPageViewManager.mm */; };
14
+ 52A324EA1FD3C3FB000B0B18 /* PdfManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 52A324E91FD3C3FB000B0B18 /* PdfManager.mm */; };
15
+ 52F79DB71EB2DA4F00CAD00C /* RNPDFPdfPageView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 52F79DB41EB2DA4F00CAD00C /* RNPDFPdfPageView.mm */; };
16
16
  /* End PBXBuildFile section */
17
17
 
18
18
  /* Begin PBXCopyFilesBuildPhase section */
@@ -30,16 +30,16 @@
30
30
  /* Begin PBXFileReference section */
31
31
  20D8E03F1C8E946C00039823 /* libRNPDFPdf.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNPDFPdf.a; sourceTree = BUILT_PRODUCTS_DIR; };
32
32
  5267DA02210F0EDD00D20C59 /* RNPDFPdfView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPDFPdfView.h; sourceTree = "<group>"; };
33
- 5267DA03210F0EDD00D20C59 /* RNPDFPdfView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfView.m; sourceTree = "<group>"; };
33
+ 5267DA03210F0EDD00D20C59 /* RNPDFPdfView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfView.mm; sourceTree = "<group>"; };
34
34
  5267DA04210F0EDD00D20C59 /* RNPDFPdfViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPDFPdfViewManager.h; sourceTree = "<group>"; };
35
- 5267DA05210F0EDE00D20C59 /* RNPDFPdfViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfViewManager.m; sourceTree = "<group>"; };
35
+ 5267DA05210F0EDE00D20C59 /* RNPDFPdfViewManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfViewManager.mm; sourceTree = "<group>"; };
36
36
  5267DA09210F0F0800D20C59 /* PDFKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PDFKit.framework; path = System/Library/Frameworks/PDFKit.framework; sourceTree = SDKROOT; };
37
37
  526B803E1EABD92200259970 /* RNPDFPdfPageViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPDFPdfPageViewManager.h; sourceTree = "<group>"; };
38
- 526B803F1EABD92200259970 /* RNPDFPdfPageViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfPageViewManager.m; sourceTree = "<group>"; };
38
+ 526B803F1EABD92200259970 /* RNPDFPdfPageViewManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfPageViewManager.mm; sourceTree = "<group>"; };
39
39
  52A324E81FD3C3FB000B0B18 /* PdfManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PdfManager.h; sourceTree = "<group>"; };
40
- 52A324E91FD3C3FB000B0B18 /* PdfManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PdfManager.m; sourceTree = "<group>"; };
40
+ 52A324E91FD3C3FB000B0B18 /* PdfManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PdfManager.mm; sourceTree = "<group>"; };
41
41
  52F79DB31EB2DA4F00CAD00C /* RNPDFPdfPageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNPDFPdfPageView.h; sourceTree = "<group>"; };
42
- 52F79DB41EB2DA4F00CAD00C /* RNPDFPdfPageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfPageView.m; sourceTree = "<group>"; };
42
+ 52F79DB41EB2DA4F00CAD00C /* RNPDFPdfPageView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNPDFPdfPageView.mm; sourceTree = "<group>"; };
43
43
  /* End PBXFileReference section */
44
44
 
45
45
  /* Begin PBXFrameworksBuildPhase section */
@@ -75,15 +75,15 @@
75
75
  isa = PBXGroup;
76
76
  children = (
77
77
  5267DA02210F0EDD00D20C59 /* RNPDFPdfView.h */,
78
- 5267DA03210F0EDD00D20C59 /* RNPDFPdfView.m */,
78
+ 5267DA03210F0EDD00D20C59 /* RNPDFPdfView.mm */,
79
79
  5267DA04210F0EDD00D20C59 /* RNPDFPdfViewManager.h */,
80
- 5267DA05210F0EDE00D20C59 /* RNPDFPdfViewManager.m */,
80
+ 5267DA05210F0EDE00D20C59 /* RNPDFPdfViewManager.mm */,
81
81
  52A324E81FD3C3FB000B0B18 /* PdfManager.h */,
82
- 52A324E91FD3C3FB000B0B18 /* PdfManager.m */,
82
+ 52A324E91FD3C3FB000B0B18 /* PdfManager.mm */,
83
83
  52F79DB31EB2DA4F00CAD00C /* RNPDFPdfPageView.h */,
84
- 52F79DB41EB2DA4F00CAD00C /* RNPDFPdfPageView.m */,
84
+ 52F79DB41EB2DA4F00CAD00C /* RNPDFPdfPageView.mm */,
85
85
  526B803E1EABD92200259970 /* RNPDFPdfPageViewManager.h */,
86
- 526B803F1EABD92200259970 /* RNPDFPdfPageViewManager.m */,
86
+ 526B803F1EABD92200259970 /* RNPDFPdfPageViewManager.mm */,
87
87
  );
88
88
  path = RNPDFPdf;
89
89
  sourceTree = "<group>";
@@ -153,11 +153,11 @@
153
153
  isa = PBXSourcesBuildPhase;
154
154
  buildActionMask = 2147483647;
155
155
  files = (
156
- 52A324EA1FD3C3FB000B0B18 /* PdfManager.m in Sources */,
157
- 5267DA07210F0EDE00D20C59 /* RNPDFPdfViewManager.m in Sources */,
158
- 5267DA06210F0EDE00D20C59 /* RNPDFPdfView.m in Sources */,
159
- 526B80401EABD92200259970 /* RNPDFPdfPageViewManager.m in Sources */,
160
- 52F79DB71EB2DA4F00CAD00C /* RNPDFPdfPageView.m in Sources */,
156
+ 52A324EA1FD3C3FB000B0B18 /* PdfManager.mm in Sources */,
157
+ 5267DA07210F0EDE00D20C59 /* RNPDFPdfViewManager.mm in Sources */,
158
+ 5267DA06210F0EDE00D20C59 /* RNPDFPdfView.mm in Sources */,
159
+ 526B80401EABD92200259970 /* RNPDFPdfPageViewManager.mm in Sources */,
160
+ 52F79DB71EB2DA4F00CAD00C /* RNPDFPdfPageView.mm in Sources */,
161
161
  );
162
162
  runOnlyForDeploymentPostprocessing = 0;
163
163
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-pdf",
3
- "version": "6.7.0",
3
+ "version": "6.7.1",
4
4
  "summary": "A react native PDF view component",
5
5
  "description": "A react native PDF view component, support ios and android platform",
6
6
  "main": "index.js",
@@ -1,14 +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>SchemeUserState</key>
6
- <dict>
7
- <key>RCTPdf.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>52</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>