Skip to content
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

Open
santimacia opened this issue Sep 22, 2016 · 4 comments
Open

how to integrate with cordova plugin? #1

santimacia opened this issue Sep 22, 2016 · 4 comments

Comments

@santimacia
Copy link

can you provide a quick setup guide?

@JohnRodney
Copy link
Contributor

@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.

@JimmySalisbury
Copy link

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.

@JohnRodney
Copy link
Contributor

JohnRodney commented Sep 16, 2017

@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?

@mill-j
Copy link

mill-j commented Apr 27, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants