-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when run on android #6
Comments
That means that you didn’t include the plugin in your build, make sure you follow the instruction https://github.com/cesarvr/pdf-generator-example <https://github.com/cesarvr/pdf-generator-example>.
… On 15 Nov 2017, at 14:24, yogesh9059 ***@***.***> wrote:
Hi sir
when i run the sample code there is an error shows pdf is not a function.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#6>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADt_yQSMC3qSAm6M6_SiM_BkDiL9s7K8ks5s2vQEgaJpZM4QfAIt>.
|
Yes sir I include the plugin in my project, but still there is an error. |
On 16 Nov 2017, at 06:47, yogesh9059 ***@***.***> wrote:
Yes sir I include the plugin in my project, but still there is an error.
Is it possible if there is any dependency problem? If yes then which dependencies I want to include and where?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#6 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADt_yV4FrRA-x3WvPbAzPs_LUf4qrXUNks5s29qQgaJpZM4QfAIt>.
Umm, Its designed to work out of the box, its look like you didn’t install the plugin by doing “cordova platform add android” this command should install the Android platform and deploy the plugins inside, you should see a structure that look like this:
<your-cordovan-project>/platforms/android/src/com/pdf/generator/<java-files>
if you don’t see that folder then somethings wrong with your Cordova installation. You may upgrade/reinstall etc.
- Also this command cordova platform add android should start and finish without errors.
- If you run this command: cordova plugins , you should see this...
cordova-pdf-generator 1.9.2 "PDFGenerator"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-spinner 1.1.0 "Spinner Plugin"
cordova-plugin-statusbar 2.3.0 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
ionic-plugin-keyboard 2.2.1 “Keyboard"
- you android emulator should be API 25 >
This conditions need to be meet to assure the correct functioning of the plugin.
Cheers.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi sir
when i run the sample code there is an error shows pdf is not a function. I am using ionic v1.
Can you please tell me proper steps for using this plugin.
The text was updated successfully, but these errors were encountered: