From 10748ebe6293fe4d36a5bceebd50d40509922fe4 Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Wed, 2 Oct 2019 12:04:36 -0400 Subject: [PATCH 1/3] Force UIModalPresentationOverFullScreen for the native module on iOS 13 --- ios/RCTPSPDFKit/RCTPSPDFKitManager.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/RCTPSPDFKit/RCTPSPDFKitManager.m b/ios/RCTPSPDFKit/RCTPSPDFKitManager.m index 1e41c2ae..73a21d56 100644 --- a/ios/RCTPSPDFKit/RCTPSPDFKitManager.m +++ b/ios/RCTPSPDFKit/RCTPSPDFKitManager.m @@ -31,6 +31,7 @@ @implementation RCTPSPDFKitManager UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:pdfViewController]; + navigationController.modalPresentationStyle = UIModalPresentationOverFullScreen; UIViewController *presentingViewController = RCTPresentedViewController(); [presentingViewController presentViewController:navigationController animated:YES completion:nil]; } From e33beb986028a5448667c9042e8158c38875118a Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Thu, 3 Oct 2019 07:58:14 -0400 Subject: [PATCH 2/3] Update ios/RCTPSPDFKit/RCTPSPDFKitManager.m Co-Authored-By: Stefan Kieleithner --- ios/RCTPSPDFKit/RCTPSPDFKitManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RCTPSPDFKit/RCTPSPDFKitManager.m b/ios/RCTPSPDFKit/RCTPSPDFKitManager.m index 73a21d56..e63d07cf 100644 --- a/ios/RCTPSPDFKit/RCTPSPDFKitManager.m +++ b/ios/RCTPSPDFKit/RCTPSPDFKitManager.m @@ -31,7 +31,7 @@ @implementation RCTPSPDFKitManager UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:pdfViewController]; - navigationController.modalPresentationStyle = UIModalPresentationOverFullScreen; + navigationController.modalPresentationStyle = UIModalPresentationFullScreen; UIViewController *presentingViewController = RCTPresentedViewController(); [presentingViewController presentViewController:navigationController animated:YES completion:nil]; } From 0b7e324e8caf7989b7406d08661c90d5ee650d3e Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Thu, 3 Oct 2019 08:01:02 -0400 Subject: [PATCH 3/3] Bump version to 1.26.1 --- package-lock.json | 2 +- package.json | 2 +- samples/Catalog/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4441fa1b..9a4cf32b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.26.0", + "version": "1.26.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2d007fc7..8e2c1d82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.26.0", + "version": "1.26.1", "description": "A React Native module for the PSPDFKit library.", "keywords": [ "react native", diff --git a/samples/Catalog/package.json b/samples/Catalog/package.json index 4c33aeae..23258eee 100644 --- a/samples/Catalog/package.json +++ b/samples/Catalog/package.json @@ -1,6 +1,6 @@ { "name": "Catalog", - "version": "1.26.0", + "version": "1.26.1", "private": true, "scripts": { "start": "react-native start",