Skip to content

Commit f6a1a53

Browse files
author
PSPDFKit
committed
Release 3.5.1
1 parent de12aa0 commit f6a1a53

20 files changed

+874
-839
lines changed

ACKNOWLEDGEMENTS.md

Lines changed: 764 additions & 764 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
## Newest Release
22

3+
### 3.5.1 - 15 Mar 2023
4+
- Updates iOS license initialization in the example catalog. (#38999)
5+
- Updates Instant web demo links. (#39018)
6+
- Updates for PSPDFKit 8.5.1 for Android. (#39090)
7+
- Updates for PSPDFKit 12.1.2 for iOS. (#39090)
8+
9+
## Previous Releases
10+
311
### 3.5.0 - 17 Jan 2023
412
- Adds Instant Synchronization support. (#37675)
513
- Updates for PSPDFKit 8.5 for Android. (#38136)
614
- Updates for PSPDFKit 12.0.2 for iOS. (#38136)
715

8-
## Previous Releases
9-
1016
### 3.4.1 - 18 Nov 2022
1117

1218
- Updates for PSPDFKit 12.0 for iOS. (#37508)

android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ android {
5656
dependencies {
5757
implementation "com.pspdfkit:$pspdfkitMavenModuleName:$pspdfkitVersion"
5858
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
59-
implementation "androidx.fragment:fragment-ktx:1.3.6"
6059
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
61-
implementation 'com.squareup.okhttp3:okhttp:4.2.1'
60+
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
6261
}

android/config.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (pspdfkitMavenUrl == null || pspdfkitMavenUrl == '') {
3838

3939
ext.pspdfkitVersion = localProperties.getProperty('pspdfkit.version')
4040
if (pspdfkitVersion == null || pspdfkitVersion == '') {
41-
ext.pspdfkitVersion = '8.5.0'
41+
ext.pspdfkitVersion = '8.5.1'
4242
}
4343

4444
ext.pspdfkitMavenModuleName = 'pspdfkit'
@@ -54,6 +54,6 @@ ext.pspdfkitFlutterVersion = pubspecYaml.version
5454

5555
ext.androidCompileSdkVersion = 33
5656
ext.androidMinSdkVersion = 21
57-
ext.androidTargetSdkVersion = 30
58-
ext.androidGradlePluginVersion = '7.1.1'
59-
ext.kotlinVersion = "1.7.10"
57+
ext.androidTargetSdkVersion = 33
58+
ext.androidGradlePluginVersion = '7.4.2'
59+
ext.kotlinVersion = "1.8.0"

example/android/app/build.gradle

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,17 @@ flutter {
4646
dependencies {
4747
implementation 'androidx.multidex:multidex:2.0.1'
4848
testImplementation 'junit:junit:4.13.2'
49-
androidTestImplementation 'androidx.test:runner:1.5.1'
50-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
51-
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
49+
androidTestImplementation 'androidx.test:runner:1.5.2'
50+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
51+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0'
52+
53+
constraints {
54+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
55+
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
56+
}
57+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
58+
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
59+
}
60+
61+
}
5262
}

example/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99
buildscript {
1010
apply from: '../../android/config.gradle'
11+
1112
repositories {
1213
google()
1314
mavenCentral()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

example/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ flutter_ios_podfile_setup
3131

3232
target "Runner" do
3333
flutter_install_all_ios_pods __dir__
34-
pod "PSPDFKit", "~> 12.0.2"
35-
pod "Instant", "~> 12.0.2"
34+
pod "PSPDFKit", "~> 12.1.2"
35+
pod "Instant", "~> 12.1.2"
3636
use_modular_headers!
3737
end
3838

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -229,6 +229,7 @@
229229
};
230230
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
231231
isa = PBXShellScriptBuildPhase;
232+
alwaysOutOfDate = 1;
232233
buildActionMask = 2147483647;
233234
files = (
234235
);
@@ -243,6 +244,7 @@
243244
};
244245
9740EEB61CF901F6004384FC /* Run Script */ = {
245246
isa = PBXShellScriptBuildPhase;
247+
alwaysOutOfDate = 1;
246248
buildActionMask = 2147483647;
247249
files = (
248250
);

example/ios/Runner/AppDelegate.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
//
99
#include "AppDelegate.h"
1010
#include "GeneratedPluginRegistrant.h"
11+
#import <PSPDFKit/PSPDFKit.h>
1112

1213
@implementation AppDelegate
1314

1415
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
1516
[GeneratedPluginRegistrant registerWithRegistry:self];
16-
// Override point for customization after application launch.
17+
[PSPDFKitGlobal setLicenseKey:@"YOUR_LICENSE_KEY_GOES_HERE"];
18+
// Override point for customization after application launch.
1719
return [super application:application didFinishLaunchingWithOptions:launchOptions];
1820
}
1921

0 commit comments

Comments
 (0)