Skip to content

Instantly share code, notes, and snippets.

View pbernasconi's full-sized avatar
🇨🇭

Paolo Bernasconi pbernasconi

🇨🇭
View GitHub Profile
@pbernasconi
pbernasconi / ionic-blog-post.md
Last active August 29, 2015 14:10
Ionic blog post - ngCordova (Moving Forward with ngCordova)

Moving Forward with ngCordova

To watch ngCordova grow from a small idea to a popular open source project with over 1250 stars on github has been a great pleasure for me. Since its inception in July 2014, I’ve had the opportunity to learn about creating and maintaining a github repository, and I’ve come to realize the true power of the community and contributors in open source. With the help and submissions from the community, ngCordova is most definitely greater than the sum of its parts.

When ngCordova started it covered 14 basic Cordova plugins. Now it has 47 and counting, ranging from Push Notifications to Facebook support. We have since released 8 versions, received 230 pull requests from 49 contributors, and resolved over 170 issues.

So, what's next?

The first new feature in ngCordova's future is an automatic deviceready check to determine whether a device is ready for plugins to be used. Currently the only way to ensure this, is to manua

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pbernasconi
pbernasconi / sqlite.js
Last active April 7, 2016 22:15
ngCordova SQLite Plugin
angular.module('ngCordova.plugins.sqlite', [])
.factory('$cordovaSQLite', ['$q', function ($q) {
return {
openDB: function(dbName) {
return window.sqlitePlugin.openDatabase({name: dbName});
},