diff --git a/.github/workflows/jsBuilder.yml b/.github/workflows/jsBuilder.yml index 58f089a7..9e7bb87d 100644 --- a/.github/workflows/jsBuilder.yml +++ b/.github/workflows/jsBuilder.yml @@ -24,7 +24,8 @@ jobs: - name: Install dependencies run: | - npm i react-native@latest + npm install + npm i typescript@5 react-native@latest - name: Build JavaScript files run: | # Change line to your build script command. diff --git a/android/build.gradle b/android/build.gradle index ef5594f4..ae9df11b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,13 +1,13 @@ buildscript { - def kotlinVersion = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : "1.8.22" + def kotlinVersion = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : "2.1.0" repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.2.0' + classpath 'com.android.tools.build:gradle:8.9.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } @@ -62,12 +62,12 @@ repositories { dependencies { implementation "com.facebook.react:react-native:+" - implementation 'androidx.fragment:fragment:1.5.1' + implementation 'androidx.fragment:fragment:1.8.6' - implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' + implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.8.7' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7' - implementation "com.pdftron:pdftron:11.13.0" - implementation "com.pdftron:tools:11.13.0" - implementation "com.pdftron:collab:11.13.0" + implementation "com.pdftron:pdftron:12.0.0" + implementation "com.pdftron:tools:12.0.0" + implementation "com.pdftron:collab:12.0.0" } diff --git a/package.json b/package.json index 8b213daa..1df26290 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-pdftron", "title": "React Native Pdftron", - "version": "3.0.4-30", + "version": "3.0.4-31", "description": "React Native Pdftron", "main": "./lib/index.js", "typings": "index.ts",