diff --git a/README.md b/README.md index ebb28ac17..a32cfa09d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # PDFTron React Native Wrapper +> [!IMPORTANT] +> This repository serves as a wrapper around the native SDKs. It exposes only a limited set of APIs intended for basic viewing, annotating and removing components from the out‑of‑box UI. Any advanced customization or access to lower‑level functionality should be performed directly through the native SDKs rather than this wrapper. + - [API](API.md) - [Prerequisites](#prerequisites) - [Preview](#preview) @@ -127,9 +130,9 @@ The release can be found here: https://github.com/ApryseSDK/pdftron-react-native ### iOS > [!IMPORTANT] -> As of March 2025, use of the podspec distributed specifically for the PDFTron React Native wrapper (`https://pdftron.com/downloads/ios/react-native/latest.podspec`) is deprecated. -> -> **All new and existing users are recommended to use the standard [Apryse iOS SDK CocoaPods](https://docs.apryse.com/ios/guides/get-started/integration?tab=cocoapods) instead.** +> As of March 2025, use of the podspec distributed specifically for the PDFTron React Native wrapper (`https://pdftron.com/downloads/ios/react-native/latest.podspec`) is deprecated and no longer maintained. +> +> Please update to the latest podspec provided for the wrapper as soon as possible (`https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdfnet/latest.podspec`) > > Please update your `Podfile` accordingly. diff --git a/android/build.gradle b/android/build.gradle index 6977d8b90..94f01f8d6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -67,7 +67,7 @@ dependencies { implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' - implementation "com.pdftron:pdftron:11.6.0" - implementation "com.pdftron:tools:11.6.0" - implementation "com.pdftron:collab:11.6.0" + implementation "com.pdftron:pdftron:11.10.0" + implementation "com.pdftron:tools:11.10.0" + implementation "com.pdftron:collab:11.10.0" } diff --git a/example/ios/Podfile b/example/ios/Podfile index bba4be27a..21ed13314 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -7,7 +7,7 @@ install! 'cocoapods', :deterministic_uuids => false target 'example' do # PDFTron use_frameworks! - pod 'PDFNet', podspec: 'https://pdftron.com/downloads/ios/react-native/latest.podspec' + pod 'PDFNet', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdfnet/latest.podspec' pod 'RNPdftron', :path => '../node_modules/react-native-pdftron' config = use_native_modules! diff --git a/package.json b/package.json index 4cdd0fd2d..0a4a0909d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-pdftron", "title": "React Native Pdftron", - "version": "3.0.4-19", + "version": "3.0.4-26", "description": "React Native Pdftron", "main": "./lib/index.js", "typings": "index.ts",