Cordova Plugin Creator Ruby Gem

Hey everyone!

I just wanted to announce the release of a Ruby Gem I created!

It was born out of some work I’ve been doing recently with PhoneGap. Essentially, I was creating some plugins that extended the functionality of PhoneGap. For those of you who don’t know, PhoneGap is a tool which Adobe owns that allows you to create Native Mobile Applications using Web Technologies. It’s basically like you’re coding for the browser, except you can release your app in the App Stores. It does this by creating a WebView and running your code within that context.

PhoneGap gives you the ability to write plugins which are native code that you write JavaScript interfaces for. So in your Web code, you can call the JavaScript functions which call into the native code for your plugin.

The drawback is that there is a very specific structure that your plugins must have in terms of configurations and directory structure and it was a pain to have to set it up manually as I would miss a setting and it would prevent my plugin from working.

Using my trusty knowledge of Ruby and creating gems, I created a gem which handled all of the setup for a plugin for you so you can just get to work coding the plugin itself.

Since I’m terrible at naming things, it’s named Cordova Plugin Creator and you can find it on Rubygems here.

Here is the repo for it as well.

Any feedback is appreciated and welcome.

Don Marges

Don Marges

Fullstack Web Developer

comments powered by Disqus
rss facebook twitter github youtube mail spotify instagram linkedin