Cesar Valdez

Results 38 comments of Cesar Valdez

Assuming that file is in the FileSystem then, in iOS you'll need to use the [cordova-plugin-file](https://github.com/apache/cordova-plugin-file/), example: ```js if (cordova.platformId === 'ios') { // this function is from the cordova-plugin-file......

Hi @anapaulaweiss, For what I can understand the plugin is basically crashing for content above 160KB. Unfortunately I cannot reproduce this error. I wrote [this project example](https://github.com/cesarvr/pdf-generator-example) that maybe can...

[default.pdf](https://github.com/cesarvr/pdf-generator/files/4612065/default.pdf) [my-pdf.pdf](https://github.com/cesarvr/pdf-generator/files/4612067/my-pdf.pdf) First one is 870KB The Second one is 4.9 MB

Sorry I don't speak Portuguese, but google translator tells me that you are asking something about: "We can assume the PDF files are that big because of the images" --...

Hi, can you share a quick example of the code you are using for this ? Also you can copy the code from [this example](https://github.com/cesarvr/pdf-generator-example) which includes an example very...

Are you able to run the [example](https://github.com/cesarvr/pdf-generator-example) successfully ? ### Check if the content right. Are you getting any errors or just a white page? Can you try to render...

take a look at this example [example](https://github.com/cesarvr/pdf-generator-example), when you generate the PDF en iOS you can pass the control to the user to decide what to do he can send...

The role of the plugin is just to take HTML and transform it to PDF, to do management of the content I'll recommend to use something like [underscore template](http://underscorejs.org/#template), you...

I create this example using ionic2 hope is useful for you: [home.ts](https://github.com/cesarvr/ionic2-basic-example/blob/master/src/pages/home/home.ts). On that example I'm using there an older version of the API, but it should work with the...

Can you try updating to the latest version [1.9.8](https://www.npmjs.com/package/cordova-pdf-generator). Also in [this example](https://github.com/cesarvr/pdf-generator-example), I test printing a huge volume of 4K images against iOS and Android (>22), maybe you can...