cesarvr / pdf-generator

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

fixed crash when using android < 5.0 #19

Closed fedemame closed 7 years ago

fedemame commented 7 years ago

The method createPrintDocumentAdapter(String) was added in api level 21 (Android 5.0) so the plugin kept crashing when using a lower version of Android. Sadly I could not find a way to set the filename when using Android 4.4.4 or lower.

cesarvr commented 7 years ago

👍