File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424
2525 - name : Install dependencies
2626 run : |
27- npm i react-native@latest
27+ npm install
28+ npm i typescript@5 react-native@latest
2829
2930 - name : Build JavaScript files
3031 run : | # Change line to your build script command.
Original file line number Diff line number Diff line change 11
22buildscript {
3- def kotlinVersion = rootProject. ext. has(' kotlinVersion' ) ? rootProject. ext. get(' kotlinVersion' ) : " 1.8.22 "
3+ def kotlinVersion = rootProject. ext. has(' kotlinVersion' ) ? rootProject. ext. get(' kotlinVersion' ) : " 2.1.0 "
44 repositories {
55 google()
66 mavenCentral()
77 }
88
99 dependencies {
10- classpath ' com.android.tools.build:gradle:4.2.0 '
10+ classpath ' com.android.tools.build:gradle:8.9.2 '
1111 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
1212 }
1313}
@@ -62,12 +62,12 @@ repositories {
6262dependencies {
6363 implementation " com.facebook.react:react-native:+"
6464
65- implementation ' androidx.fragment:fragment:1.5.1 '
65+ implementation ' androidx.fragment:fragment:1.8.6 '
6666
67- implementation ' androidx.lifecycle:lifecycle-livedata-ktx:2.5.1 '
68- implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1 '
67+ implementation ' androidx.lifecycle:lifecycle-livedata-ktx:2.8.7 '
68+ implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7 '
6969
70- implementation " com.pdftron:pdftron:11.13 .0"
71- implementation " com.pdftron:tools:11.13 .0"
72- implementation " com.pdftron:collab:11.13 .0"
70+ implementation " com.pdftron:pdftron:12.0 .0"
71+ implementation " com.pdftron:tools:12.0 .0"
72+ implementation " com.pdftron:collab:12.0 .0"
7373}
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-pdftron" ,
33 "title" : " React Native Pdftron" ,
4- "version" : " 3.0.4-30 " ,
4+ "version" : " 3.0.4-31 " ,
55 "description" : " React Native Pdftron" ,
66 "main" : " ./lib/index.js" ,
77 "typings" : " index.ts" ,
You can’t perform that action at this time.
0 commit comments