@skippertech wrote:
Hey Guys,
I did a lot of googling and couldn't seem to come up with much of an answer, how does the syntax of calling Cordova plugins in Ionic 2 work.Like for example, in Ionic 1:
I was using a facebook plugin, and I would call it like: $cordovaFacebook.login(["public_profile", "email","name","last_name","first_name","birthday","age_range","link"]).then(function (success) {I would also 'inject' it and add it as a dependency. Both things I am not sure how to do with Ionic 2.
I read somewhere that with Ionic 2 that isn't as nesscary, but I am still unsure
Posts: 6
Participants: 2