-
Notifications
You must be signed in to change notification settings - Fork 3
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
how to integrate with cordova plugin? #1
Comments
@santimacia Hey thanks for trying this out. Did you import it and then call setup? The first example on the readme.md works for me can you verify that it does or doesn't and then tell me your error if it doesn't work. |
I think he means a full working example. There is no info as to if you need to import it into app.module, use it in a component or any other standard set up directions. Without these any set-up is trial and error. |
@JimmySalisbury sorry it has been quite a while since I worked on this. I was using a meteor environment and I just installed the cordova module and then installed this npm module and then called setup. If you could give me more information on your stack / setup or a quick repo that you are trying to get it to work with I could do some debugging to get this working for your and maybe give myself a better perspective of what I can add to the readme to help. My intent was for this to work with any cordova based project that also supported npm by just following the setup directions. Can you tell me what errors you get when running the example code inside of your javascript file in your project? |
I also have problems figuring out how to include this in the cordova project. Most plugins include a "plugin.xml" file so you can install it with cordova plugin add "pluginName". I'm running cordova (cli) under Linux. Is there a specific way to manually add this module to a cordova project? npm installed it to the node_modules folder but I'm not sure how to bridge the gap between that and my code. I've tried including the calendar.js file via <script>, import, and require, but nothing works. Thanks mill-j |
can you provide a quick setup guide?
The text was updated successfully, but these errors were encountered: