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

Install problem -- how to set up. #95

Closed
newuser44 opened this issue Aug 9, 2017 · 1 comment
Closed

Install problem -- how to set up. #95

newuser44 opened this issue Aug 9, 2017 · 1 comment

Comments

@newuser44
Copy link

I'm confused on what is needed to get this to work.

I have ngCordova installed.

I have a link to the js file in my html.
I have the ngCordova services added.

angular.module('myApp', ['ngCordova'])

Now I install this plug in.

To use this plugin do I need the ngCordova AND $cordovaAppVersion ???

Do I need to add any JS anywhere?

I know there is something I'm missing but not sure where I'm off.

Update. I added in the JS.
Looks like its finding it, but then I get an error

AppVersionPlugin.js:65 Uncaught ReferenceError: module is not defined
at AppVersionPlugin.js:65

The line it has a problem with is
module.exports = getAppVersion;

@Drarok
Copy link
Contributor

Drarok commented Jan 16, 2018

Sorry, I've not used ngCordova, but given they appear to have their own plugins ecosystem, it might be that it's not compatible with plain Cordova ones?

@Drarok Drarok closed this as completed Jan 16, 2018
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

2 participants