Skip to main content

The Importance of Keeping in the Loop

Greetings, Fellow Devs!

This is the first post, of hopefully a generally weekly update.  I've been so slack in the past, but small articles or large, I endevour to get something to you!

I was just now sipping my glass of whiskey, forcing myself to get back to an old project I have been procrastinating on for some time now.  I did have a good enough reason, a wedding to plan for, then 2 weeks before it all came together - losing my job, and then like a pebble over a lake, bouncing in to a new (and first for myself) management position.  It's been one hell of a ride!

But I digress; the issue I was facing was attempting to re-compile a cordova app which I have been extremely excited about, when I find it was no longer able to do so with the SDK and the plugins I was using were all out of date.  This has caused a right mess, and finding the right solutions in forums is definitely not easy - even when you have the up-vote style of answer/comment you would find on Stack Overflow.

Don't discourage; I am not dissing S/O, far from it.  But let me give this as a prime example as to a solution and to it's many followers, leading you (potentially) down a long garden path;

This was the best matching result of the issue I was having. The accepted answer is (as of the publication of this post) half right, while a comment on the post with the most up-votes suggests to additionally downgrade the Android version to use of 6.3.0.

This raised an immediate red-flag.  Great, it fixes it, but I need to keep my project in the past?  And so many were suggesting the same thing.  It wasn't until I scrolled all the way to the bottom to find an extremly helpful post, with the following exceprt from the source:

In our last plugins release, we deprecated cordova-plugin-compat since it got integrated into cordova-android@6.3.0. So for this release cycle, we have removed the dependency from plugins that were relying on it and gave the plugins a major version jump. The follow plugins have dropped cordova-plugin-compat: cordova-plugin-camera, cordova-plugin-contacts, cordova-plugin-file, cordova-plugin-geolocation, cordova-plugin-media, and cordova-plugin-media-capture.

Halleiluijah!  So the cordova-plugin-compat was deprecated, and all plugins that used this had a major version bump to remove its dependency, so simply every one of them needed to be updated and this plugin could then simply be removed.

So this prompted me to not only start this new blog to keep up to date on, but also to encourage others to keep up to date on such blogs and other feeds your projects components rely on.

Cheers!
Jesse.

Comments

Popular posts from this blog

Running NodeJS Serverless Locally

 So it's been a long time, but I thought this was a neat little trick so I thought I'd share it with the world - as little followers as I have.  In my spare time I've been writing up a new hobby project in Serverless , and while I do maintain a staging and production environment in AWS, it means I need to do a deployment every time I want to test all of the API's I've drafted for it. Not wanting to disturb the yaml configuration for running it locally, I've come up with a simple outline of a server which continues to use the same configuration.  Take the express driven server I first define here: And then put a index.js  in your routes folder to contain this code: Voila! This will take the request from your localhost and interpret the path against your serverless.yml and run the configured function.  Hope this helps someone!

question2answer Wordpress Integration

 Today I want to journal my implementation of a WordPress site with the package of "question2answer".  It comes as self-promoted as being able to integrate with WordPress "out of the box".  I'm going to vent a small amount of frustration here, because the only integration going on is the simplicity of configuration with using the same database, along with the user authentication of WordPress.  Otherwise they run as two separate sites/themes. This will not do. So let's get to some context.  I have a new hobby project in mind which requires a open source stack-overflow clone.  Enter question2answer .  Now I don't want to come across as completely ungrateful, this package - while old, ticks all the boxes and looks like it was well maintained, but I need every  page to look the same to have a seamless integration.  So, let's go through this step by step. Forum Index Update This step probably  doesn't need to be done, but I just wanted to mak...

Auth0 - Removing Social Accounts

Greetings!  Long time it has been.  Today's post comes from a project I was handed to convert the tens of thousands of users through our website that are using social accounts into email/password logins.  It has served us well over the years, but with the on-going scrutiny from the changes at Facebook, and the integration we need to do with our online shop which does not have social authentication - makes sense it is time to remove. But what is the cleanest way? We want to make this as seamless and easy as possible for our customers and with one EDM delivery.  I have come up with the following procedure: The comments should make it fairly self-explanatory.  What you may find interesting is that we are deleting the corresponding user from Wordpress .  This will get re-created after they sign in with the new user ID.  If you are curious on the SQL that can be used to look up and delete the user by the Auth0 user_id, you can use this query: From there you...