Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Mar 23, 2015
1 parent b9ec3fa commit b0a043d
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 7 deletions.
32 changes: 31 additions & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,36 @@
"cordovaPlugins": [
"org.apache.cordova.camera",
"org.apache.cordova.console",
"org.apache.cordova.contacts"
"org.apache.cordova.contacts",
"org.apache.cordova.device",
"org.apache.cordova.dialogs",
"org.apache.cordova.device-motion",
"org.apache.cordova.device-orientation",
"org.apache.cordova.network-information",
"org.apache.cordova.geolocation",
"org.apache.cordova.globalization",
"org.apache.cordova.file",
"org.apache.cordova.file-transfer",
"org.apache.cordova.splashscreen",
"org.apache.cordova.statusbar",
"org.apache.cordova.vibration",
"org.apache.cordova.media",
"org.apache.cordova.inappbrowser",
"org.apache.cordova.battery-status",
"https://github.com/Wizcorp/phonegap-facebook-plugin.git",
"https://github.com/driftyco/ionic-plugins-keyboard",
"https://github.com/VitaliiBlagodir/cordova-plugin-datepicker.git",
"https://github.com/wildabeast/BarcodeScanner.git",
"https://github.com/chrisekelley/AppPreferences",
"https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git",
"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git",
"uk.co.ilee.touchid",
"https://github.com/pushandplay/cordova-plugin-apprate.git",
"https://github.com/katzer/cordova-plugin-local-notifications.git",
"https://github.com/katzer/cordova-plugin-email-composer.git",
"https://github.com/phonegap-build/PushPlugin.git",
"https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git",
"https://github.com/Telerik-Verified-Plugins/HealthKit",
"de.appplant.cordova.plugin.badge"
]
}
29 changes: 29 additions & 0 deletions demo/www/lib/ngCordova/dist/ng-cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -3846,6 +3846,35 @@ angular.module('ngCordova.plugins.insomnia', [])
}

}]);
// install : cordova plugins add https://github.com/vstirbu/InstagramPlugin
// link : https://github.com/vstirbu/InstagramPlugin

angular.module('ngCordova.plugins.instagram', [])

.factory('$cordovaInstagram', ['$q', function ($q) {

return {
share: function (options) {
var q = $q.defer();

if (!window.Instagram) {
console.error('Tried to call Instagram.share but the Instagram plugin isn\'t installed!');
q.resolve(null);
return q.promise;
}

Instagram.share(options.image, options.caption, function(err) {
if(err) {
q.reject(err);
} else {
q.resolve(true);
}
});
return q.promise;
}
};
}]);

// install : cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.git
// link : https://github.com/driftyco/ionic-plugins-keyboard

Expand Down
7 changes: 4 additions & 3 deletions demo/www/lib/ngCordova/dist/ng-cordova.min.js

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions dist/ng-cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -3846,6 +3846,35 @@ angular.module('ngCordova.plugins.insomnia', [])
}

}]);
// install : cordova plugins add https://github.com/vstirbu/InstagramPlugin
// link : https://github.com/vstirbu/InstagramPlugin

angular.module('ngCordova.plugins.instagram', [])

.factory('$cordovaInstagram', ['$q', function ($q) {

return {
share: function (options) {
var q = $q.defer();

if (!window.Instagram) {
console.error('Tried to call Instagram.share but the Instagram plugin isn\'t installed!');
q.resolve(null);
return q.promise;
}

Instagram.share(options.image, options.caption, function(err) {
if(err) {
q.reject(err);
} else {
q.resolve(true);
}
});
return q.promise;
}
};
}]);

// install : cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.git
// link : https://github.com/driftyco/ionic-plugins-keyboard

Expand Down
7 changes: 4 additions & 3 deletions dist/ng-cordova.min.js

Large diffs are not rendered by default.

0 comments on commit b0a043d

Please sign in to comment.