Questions tagged [pspdfkit]

PSPDFKit supports fast PDF viewing, annotating and signing of documents.PSPDFKit supports basic PDF password encryption (40‑bit RC4 or 128‑bit RC4 or AES). Additionally, PSPDFKit Annotate supports an additional layer of security with a military-grade AES256 encryption.

110 questions
1
vote
2 answers

Can't clear the cache of PSPDFDocument

I'm having problems with clearing the cache of PSPDFDocument before and after deleting the PDF file. here's what I do: // ... PSPDFDocument *document = [PSPDFDocument PDFDocumentWithUrl:(pdfURL)]; [document…
jackal
  • 1,143
  • 17
  • 32
1
vote
1 answer

Opening Pdf in Jetpack compose with pspdfkit

I am using Kotlin Jetpack and getting below error while opening the document. com.pspdfkit.jetpack.compose.NonFragmentActivityException: You need to use a fragment activity in order to use the DocumentView composable. at…
Harry
  • 154
  • 4
  • 15
1
vote
2 answers

com.ryanheise.audioservice.AudioServiceActivity cannot be cast to androidx.fragment.app.FragmentActivity

when i use just_audio_background and PsPdfKit together then this issue is coming just_audio_background needs android:name="com.ryanheise.audioservice.AudioServiceActivity" in androidManifest.xml i tried to…
1
vote
1 answer

PSPDFKIT: failed to execute 'compile' on 'webassembly' http status code is not ok

using PSPDFKit version 2021.5.3 in my local system its working fine, but in our dev environment (https enabled). we are getting error as below: failed to execute 'compile' on 'webassembly' http status code is not ok we can see when downloading a…
Amit Kumar
  • 13
  • 4
1
vote
0 answers

PSPDFKit not showing annotation tools

To display PDF in my Android app I am using PSPDFKit toolkit(trial version)PSPDFKit for now to use annotations tools. I need to show PDF inside fragment for that I am following this guide Here but it doesn't shows annotation tools and displays only…
Sumit Shukla
  • 4,116
  • 5
  • 38
  • 57
1
vote
1 answer

PSPDFKIT instance.addEventListener('annotations.create') is missing the annotation type

I'm struggling with pspdfkit for creating and displaying my annotations properly. I would like to create my annotation like this: instance.addEventListener("annotations.create", createdAnnotations => { const annotation =…
1
vote
0 answers

Is it possible to save PSPDFDocumentEditor's document that uses custom data provider

I am trying to us PDF editing feature of PSPDFViewController, but my application has a limitation that all data should be read/write on disk using secure file manger. So for this purpose I am using custom PSPDFDataProviding protocol implementation…
Peter K
  • 438
  • 3
  • 10
1
vote
2 answers

Create PDF file with pre-defined template

I am trying to create a PDF with the pre-defined template with this particular library called PDFKIT. The server is written in Nodejs, may I know is there any good example I could refer to? What I want to achieve is to have a User Interface as an…
DavidB
  • 313
  • 1
  • 8
  • 23
1
vote
1 answer

How to display Custom Dialogfragment when creating PDF Annotations with PSPDFKit

I am investigating the PDF library PSPDFKit for Android. // Inside my app's dependencies {} implementation 'com.pspdfkit:pspdfkit-demo:4.0.2' The library is impressive and has many valuable features "Out Of The Box". However, I have encountered an…
Hector
  • 4,016
  • 21
  • 112
  • 211
1
vote
1 answer

PSPDFKit - App crash on creating new document

I'm evaluating PSPDFKit for one of my Android app. To create a new document I'm using following code: final File outputFile = new File(getFilesDir(), "new-document.pdf"); final PSPDFProcessorTask task = new…
Ammar
  • 1,811
  • 5
  • 26
  • 60
1
vote
1 answer

PSPDFKit Full Text Search and Return document path, not documentUID

Hi I'm looking to use the PSPDFKit framework and its full text search features to find documents. I am doing this in a Cordova/Phonegap application so i want to return the search results data back to my Javascript application. I am running into an…
Leon Ho
  • 101
  • 1
  • 8
1
vote
1 answer

box-ios-preview-sdk : Memory leak in pspdfkit

I get memory leak for some pdf's in pspsdfkit being used in box-ios-preview-sdk. initImageAppleJPEG : 1512 : falling back to libJPEG initImageAppleJPEG : 1512 : falling back to libJPEG initImageAppleJPEG : 1512 : falling back to…
sdpolke
  • 23
  • 7
1
vote
1 answer

Disable tapping page scroll on iOS

PSPDFKit lets you scroll pages of a PDF 2 ways, by swiping left or right, or by tapping on the left or right edges. Is there a way to disable this "left or right" edges tapping? We want to use PDF tapping for something completely different and this…
Travis M.
  • 10,930
  • 1
  • 56
  • 72
1
vote
1 answer

PDF annotations not saved

I have an issue with PSPDFKit. The problem is the following: I have an array of annotations. I need to add them to the pdf document. PSPDFDocument *newDocument = [PSPDFDocument documentWithURL:someURL]; newDocument.delegate = self; …
Yevgeniy Leychenko
  • 1,287
  • 11
  • 25
1
vote
1 answer

change button images in PSPDFKIT

I'm working on PSPDFKIT, I want to change default button images. and I want to change frame settings. can anyone suggest me solving those problem thanks
venkatesh
  • 11
  • 2