I’ve included this https://github.com/vstirbu/InstagramPlugin/tree/0.4.1 via meteor add and it seems to build properly.
The mobile documentation says that all the global variables will just be accessible everywhere.
This code gives me: Uncaught ReferenceError: Instagram is not defined
Meteor.startup(function () {
Instagram.isInstalled(function (err, installed) {
if (installed) {
console.log("Instagram is", installed); // installed app version on Android
} else {
console.log("Instagram is not installed");
}
});
});
The directory .meteor/local/cordova-build/plugins contains com.vladstirbu.cordova.instagram so I’m sure that it’s being included somehow.
The error is thrown when I attempt to run on my Nexus 6.