cesarvr / pdf-generator

Cordova plugin to generate pdf in the client-side
MIT License
106 stars 62 forks source link

Ionic 2 app crashing when calling htmlToPDF #26

Closed citerio closed 7 years ago

citerio commented 7 years ago

Hey Cesar, I already installed the plugin on my Ionic 2 project, but my app crashes when the htmlToPDF method is called, the OS just shows this message "Se ha detenido la Aplicacion"/ "The app has stopped".

Thanks.

cesarvr commented 7 years ago

Hi @citerio

Just made an update to the plugin can you test the latest version 1.1.0 just added some validations.

Cheers.

citerio commented 7 years ago

Hey Cesar, ok, I'll do so, but How can I fetch the latest version?, I am running cordova plugin add cordova-pdf-generator but I'm still getting the old version 1.0.14.

citerio commented 7 years ago

I already managed to install the 1.1.1 version, but it is still crashing, I am running it on Android 4.0

cesarvr commented 7 years ago

I think the printing capabilities are only available for api-level 19 - Kikat.