You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Show the settings button in the `ConfiguredPDFViewComponent` iOS example
* Add README file for the Catalog
* Fix issue where the `pageIndex` prop needed to be set before the document prop. The order should not be important.
* Update README
* Bump version number to 1.30.18
The project contains a large set of sample code, which illustrates how to set up and customize PSPDFKit for various use cases. You can run the Catalog app on Android and iOS.
4
+
5
+
### Running the Catalog on Android
6
+
7
+
#### Requirements
8
+
9
+
- Android SDK
10
+
- Android NDK
11
+
- Android Build Tools 23.0.1 (React Native)
12
+
- Android Build Tools 28.0.3 (PSPDFKit module)
13
+
- Android Gradle plugin 3.4.1 or later.
14
+
- PSPDFKit for Android 6.6.0 or later.
15
+
- React Native 0.60.4.
16
+
17
+
#### Getting Started
18
+
19
+
1. Clone the repository. `git clone https://github.com/PSPDFKit/react-native.git`.
20
+
2. Install dependencies: run `yarn install` from `samples/Catalog` directory. (Because of a [bug](https://github.com/yarnpkg/yarn/issues/2165) you may need to clean `yarn`'s cache with `yarn cache clean` before.)
21
+
3. Update license key in `samples/Catalog/android/app/src/main/AndroidManifest.xml`:
22
+
23
+
```xml
24
+
<application>
25
+
...
26
+
27
+
<meta-data
28
+
android:name="pspdfkit_license_key"
29
+
android:value="YOUR_LICENSE_KEY_GOES_HERE"/>
30
+
31
+
</application>
32
+
```
33
+
34
+
4. Catalog app is now ready to launch. From `samples/Catalog` directory run `react-native run-android`.
35
+
36
+
### Running the Catalog on iOS
37
+
38
+
#### Requirements
39
+
40
+
- The latest [Xcode](https://developer.apple.com/xcode/).
41
+
- the latest version of PSPDFKit for iOS.
42
+
- React Native 0.60.4.
43
+
44
+
#### Getting Started
45
+
46
+
1. Clone the repository: `git clone https://github.com/PSPDFKit/react-native.git`.
47
+
2. Step into your newly cloned folder: `cd react-native` and create a new `PSPDFKit` directory: `mkdir PSPDFKit`.
48
+
3.[Download the latest version of PSPDFKit for iOS](https://customers.pspdfkit.com/download/binary/ios/latest) and mount the DMG file.
49
+
4. Copy `PSPDFKit.xcframework` and `PSPDFKitUI.xcframework` into the `PSPDFKit` directory.
50
+
5. Install dependencies: `yarn install` in `samples/Catalog` directory. (Because of a [bug](https://github.com/yarnpkg/yarn/issues/2165) you may need to clean `yarn`'s cache with `yarn cache clean` before.)
51
+
6. Run the app with `react-native-cli`: `react-native run-ios`
52
+
53
+
**Note:** If you get an error about `config.h` not being found check out [this blog post](https://tuntunir.blogspot.com/2018/02/react-native-fatal-error-configh-file.html) for information on how to fix it.
0 commit comments