-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
PSPDFKit
committed
Mar 23, 2023
1 parent
c1d809b
commit c476007
Showing
79 changed files
with
5,134 additions
and
8,629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,4 +50,4 @@ PSPDFKit/PSPDFKitUI.xcframework | |
# UWP license file | ||
samples/Catalog/windows/Catalog/License.xaml | ||
|
||
.fake | ||
.fake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
inherit_from: ../../.rubocop.yml | ||
|
||
Naming/FileName: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby 3.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
android/src/main/java/com/pspdfkit/react/RNInstantPdfActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package com.pspdfkit.react; | ||
|
||
/// Copyright © 2021-2023 PSPDFKit GmbH. All rights reserved. | ||
/// | ||
/// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW | ||
/// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. | ||
/// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. | ||
/// This notice may not be removed from this file. | ||
/// | ||
|
||
import android.util.Log; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import com.pspdfkit.document.PdfDocument; | ||
import com.pspdfkit.instant.document.InstantPdfDocument; | ||
import com.pspdfkit.instant.exceptions.InstantException; | ||
import com.pspdfkit.instant.ui.InstantPdfActivity; | ||
|
||
public class RNInstantPdfActivity extends InstantPdfActivity { | ||
|
||
@Override | ||
public void onDocumentLoaded(@NonNull PdfDocument document) { | ||
super.onDocumentLoaded(document); | ||
} | ||
|
||
@Override | ||
public void onSyncError(@NonNull InstantPdfDocument instantDocument, @NonNull InstantException error) { | ||
super.onSyncError(instantDocument, error); | ||
} | ||
|
||
@Override | ||
public void onSyncFinished(@NonNull InstantPdfDocument instantDocument) { | ||
super.onSyncFinished(instantDocument); | ||
Log.d("RNInstant::::::", "onSyncFinished: "); | ||
} | ||
|
||
@Override | ||
public void onSyncStarted(@NonNull InstantPdfDocument instantDocument) { | ||
super.onSyncStarted(instantDocument); | ||
Log.d("RNInstant::::::", "onSyncStarted: "); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.