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.
- A development environment for running React Native projects using the React Native CLI (not the Expo CLI).
- The latest stable version of Android Studio.
- The Android NDK.
- An Android Virtual Device or a hardware device.
- Clone the repository:
git clone https://github.com/PSPDFKit/react-native.git
- Step into the Catalog project's directory:
cd react-native/samples/Catalog
- Install dependencies:
yarn install
- The Catalog app is now ready to launch:
react-native run-android
- A development environment for running React Native projects using the React Native CLI (not the Expo CLI).
- The latest stable version of Xcode.
- The latest stable version of CocoaPods. If you don’t already have CocoaPods installed, follow the CocoaPods installation guide to install CocoaPods on your Mac.
- Clone the repository:
git clone https://github.com/PSPDFKit/react-native.git
- Step into the Catalog project's directory:
cd react-native/samples/Catalog
- Install dependencies:
yarn install
- Go to the iOS folder:
cd iOS
- Install the iOS pods:
pod install
- Go back to the Catalog directory:
cd ..
- The Catalog app is now ready to launch:
react-native run-ios
Note: If you get an error about config.h
not being found check out this blog post for information on how to fix it.