Browse Source

compdfkit(rn) - v2.0.1-beta.2

ComPDFKit-Youna 9 months ago
parent
commit
82c3a6f6be
3 changed files with 35 additions and 37 deletions
  1. 14 1
      CHANGELOG.md
  2. 14 30
      README.md
  3. 7 6
      package.json

+ 14 - 1
CHANGELOG.md

@@ -1,6 +1,6 @@
 ## Newest Release
 
-### 2.0.1-beta.1 - 17 May 2024
+### 2.0.1 - 13 May 2024
 
 * Provide dependency methods from GitHub and npm.
 
@@ -12,3 +12,16 @@
 
 
 ## Previous Release
+
+### 2.0.1-beta.2 - 13 May 2024
+
+* Adjust some document description errors.
+
+
+### 2.0.1-beta.1 - 10 May 2024
+
+* Provide dependency methods from GitHub and npm.
+
+* Added the features support for ComPDFKit PDF SDK for iOS V2.0.1.
+* Added the features support for ComPDFKit PDF SDK for Android V2.0.1.
+* Fix the issue of continuous memory growth.

+ 14 - 30
README.md

@@ -4,9 +4,7 @@
 
 [ComPDFKit PDF SDK](https://www.compdf.com) seamlessly operates on [Web](https://www.compdf.com/web), [Windows](https://www.compdf.com/windows), [Android](https://www.compdf.com/android), [iOS](https://www.compdf.com/ios), [Mac](https://www.compdf.com/contact-sales), and [Server](https://www.compdf.com/server), with support for cross-platform frameworks such as [React Native](https://www.compdf.com/react-native), [Flutter](https://www.compdf.com/flutter), etc.
 
-[ComPDFKit for React Native](https://www.compdf.com/react-native) allows you to quickly and seamlessly add PDF functions to any React Native application, elevating your Android and iOS apps with annotations, content editing, conversion, data extraction, etc.   
-
-
+[ComPDFKit for React Native](https://www.compdf.com/react-native) allows you to quickly and seamlessly add PDF functions to any React Native application, elevating your Android and iOS apps with annotations, content editing, conversion, data extraction, etc.
 
 ## Related
 
@@ -17,8 +15,6 @@
 - Recognize and extract data from PDFs with our online [Extract Demo](https://www.compdf.com/pdf-extract/demo)
 - [ComPDFKit API](https://api.compdf.com/api/pricing) allows you to get 1000 files processing monthly now! Just [sign up](https://api.compdf.com/signup) for a free trial and enjoy comprehensive PDF functions.
 
-
-
 ## Prerequisites
 
 * A license is required for trial. Please contact our [sales team](https://www.compdf.com/contact-sales) to obtain a free trial license.
@@ -29,13 +25,11 @@
 * Android `targetSdkVersion` of `23` or higher
 * iOS 11 or higher
 
-
-
 ## Installation
 
-First, please follow the official [React Native environment setup guide](https://reactnative.dev/docs/environment-setup), configure [iOS and Android environments](https://reactnative.dev/docs/environment-setup), and create a [React Native project](https://reactnative.dev/docs/environment-setup). 
+First, please follow the official [React Native environment setup guide](https://reactnative.dev/docs/environment-setup), configure [iOS and Android environments](https://reactnative.dev/docs/environment-setup), and create a [React Native project](https://reactnative.dev/docs/environment-setup).
 
-If you have already created a React Native project, you can skip directly to [Installing the ComPDFKit Dependency](#Installing the ComPDFKit Dependency).
+If you have already created a React Native project, you can skip directly to [Installing the ComPDFKit Dependency](#Installing-the-ComPDFKit-Dependency).
 
 ### Creating a New Project
 
@@ -57,7 +51,9 @@ Let's create a simple app that integrates ComPDFKit for React Native.
    cd MyApp
    ```
 
-### Installing the ComPDFKit Dependency
+
+
+### Installing-the-ComPDFKit-Dependency
 
 You can integrate the SDK in two ways:
 
@@ -103,7 +99,7 @@ You can integrate the SDK in two ways:
 
 2. Copy the sample pdf file to the `assets` directory
 
-<img src="./screenshots/demo-android-2.png" alt="demo-android-2" style="zoom:33%;" />
+<img src="./screenshots/demo-android-2.png" alt="demo-android-2" width="40%" />
 
 2. Replace `App.js` (or `App.tsx`) with what is shown for [Usage-Example](#Usage-Example)
 3. Finally in the root project directory, run `react-native run-android`.
@@ -164,27 +160,23 @@ end
 
 <key>NSPhotoLibraryUsageDescription</key>
 <string>Your consent is required before you could access the function.</string>
-  
+
 <key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSAllowsArbitraryLoads</key>
-		<true/>
-	</dict>
+<dict>
+<key>NSAllowsArbitraryLoads</key>
+<true/>
+</dict>
 ```
 
 3. Replace `App.js` (or `App.tsx`) with what is shown for [Usage-Example](#Usage-Example)
 4. Finally in the root project directory, run `react-native run-ios`.
 
-
-
 ### Apply the License Key
 
-Contact [ComPDFKit's sales team](https://www.compdf.com/contact-sales) to get a free 30-day license to test the project, and [apply the license key](https://www.compdf.com/guides/pdf-sdk/react-native/apply-the-license-key) following the guides.
+Contact [ComPDFKit&#39;s sales team](https://www.compdf.com/contact-sales) to get a free 30-day license to test the project, and [apply the license key](https://www.compdf.com/guides/pdf-sdk/react-native/apply-the-license-key) following the guides.
 
 ComPDFKit for React Native is a commercial SDK, which requires a license to grant developer permission to release their apps. Each license is only valid for one `bundle ID` or `applicationId` in development mode. Other flexible licensing options are also supported, please contact [our marketing team](mailto:support@compdf.com) to know more.
 
-
-
 ## Usage-Example
 
 After installing from NPM or GitHub, replace `App.tsx` with the following code.
@@ -466,15 +458,10 @@ var config = ComPDFKit.getDefaultConfig({
 ComPDFKit.openDocument(samplePDF, '', config)
 ```
 
-
-
 ## **API**
 
 APIs are available on the [API](API.md)
 
-
-
-
 ## Support
 
 [ComPDFKit](https://www.compdf.com/) has a professional R&D team that produces comprehensive technical documentation and guides to help developers. Also, you can get an immediate response when reporting your problems to our support team.
@@ -484,13 +471,10 @@ APIs are available on the [API](API.md)
 - For technical assistance, please reach out to our [Technical Support](https://www.compdf.com/support).
 - To get more details and an accurate quote, please contact our [Sales Team](https://compdf.com/contact-us).
 
-
-
 ## Note
 
 We are glad to announce that you can register a ComPDFKit API account for a [free trial](https://api.compdf.com/api/pricing) to process 1000 documents per month for free.
 
-Thanks, 
+Thanks,
 
 The ComPDFKit Team
-

+ 7 - 6
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@compdfkit_pdf_sdk/react_native",
-  "version": "2.0.1-beta.1",
+  "version": "2.0.1-beta.2",
   "description": "ComPDFKit for React Native is a comprehensive SDK that allows you to quickly add PDF functionality to Android, iOS, and React Native applications.",
   "main": "./src/index.tsx",
   "source": "src/index",
@@ -10,6 +10,9 @@
     "android",
     "ios",
     "cpp",
+    "API.md",
+    "CHANGELOG.md",
+    "CONFIGURATION.md",
     "*.podspec",
     "!ios/build",
     "!android/build",
@@ -51,15 +54,13 @@
   "bugs": {
     "url": "https://github.com/ComPDFKit/compdfkit-pdf-sdk-react-native/issues"
   },
-  "homepage": "https://github.com/ComPDFKit/compdfkit-pdf-sdk-react-native",
-  "publishConfig": {
-    "registry": "https://registry.npmjs.org/"
-  },
+  "homepage": "https://www.compdf.com/react-native",
   "devDependencies": {
     "@types/react": "*",
     "@types/react-native": "*",
     "react": "*",
-    "typescript": "*"
+    "typescript": "*",
+    "react-native-builder-bob": "^0.20.4"
   },
   "peerDependencies": {
     "react": "*",