NativeScript icon indicating copy to clipboard operation
NativeScript copied to clipboard

Unable to use 'BNHtmlPdfKit' pod in iOS in release mode.

Open macin40 opened this issue 9 years ago • 5 comments

var documents = fs.knownFolders.documents();
            var file = documents.getFile(AppConstant.PDF_FILE_NAME + ".pdf");
            var path = file.path;
            // console.log(path);
            var htmlPdfKit = new BNHtmlPdfKit();
            console.log(htmlPdfKit);
            this.pdfFilePath = path;
            htmlPdfKit.saveHtmlAsPdfToFile(this.htmlString, this.pdfFilePath);

macin40 avatar Jul 18 '17 11:07 macin40

@macin40 please provide as much information as possible including the following:

  • Is the pod requiring some explicit permissions (e.g. I've noticed it is using URL requests so you might need to enable HTTP transport security key - this)
  • Are you receiving any errors/warning? If yes -please post them.
  • Have you included the pod file directly in your project or as a plugin?
  • Is it working in debug mode and only causing troubles in a release?

NickIliev avatar Jul 18 '17 12:07 NickIliev

@NickIliev Is the pod requiring some explicit permissions (e.g. I've noticed it is using URL requests so you might need to enable HTTP transport security key -its is already YES Are you receiving any errors/warning? If yes -please post them. -no Have you included the pod file directly in your project or as a plugin? -I have included as a plugin by creating it. Is it working in debug mode and only causing troubles in a release? -its only causing trouble in release mode and working fine in debug mode.

macin40 avatar Jul 18 '17 13:07 macin40

@macin40 it is hard to reproduce or investigate your case as we don't have the actual project or code involved. If possible please provide a sample application that can fully reproduce the issue in release mode. Also, let us know what is the behavior in release mode.

NickIliev avatar Jul 19 '17 05:07 NickIliev

Hi @macin40. closing due to inactivity, please provide sample project and if there is a real problem I will reopen it

tsonevn avatar Jul 25 '17 08:07 tsonevn

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 28 '19 04:08 lock[bot]