[Google Maps Plugin] any plans on updating the cordova code?

[Google Maps Plugin] any plans on updating the cordova code?

  
Forge Component
(4)
Published on 2017-08-04 by Grazina
4 votes
Published on 2017-08-04 by Grazina

Was looking at the original cordova code being used for the plugin and it appears they have had quite a few bug fixes since the original fork.  Do you have any plans on updating to their newer version?

One of the interesting things about OS is their architecture regarding PhoneGap Build.

I'm not positive about this, but it seems OS has created their own wrapper around PGB... and so... have more control over the version used.  If this is the case, then that means the PGB version, and therfore the iOS, Android, and Windows versions, being used in OS are quite old (comparatively speaking).

PGB is currently at cli-8.0.0.  I believe OS is at cli-6.5.0 which, in PGB terms, is quite old.

All this stuff is a moving target and it can't be much fun for OS to try to keep up to date with PGB.  However, changes do march on and, as stated, there are a number of fixes and enhancements to plugins that OS simply cannot take advantage of given it's architecture.

OS would have to update it's code to pull in the latest PGB stuff... and then all plugin wrappers would need to be updated.  Since many of the plugins have been built by excellent developers... it would be up to those developers to update the wrappers.

In this case, the Google Maps Plugin was released for OS version 10.0.401.0.  OS is now on 10.0.721.0.  The Google Maps Plugin is essentially over a year old... with some minor changes added in July 2017.

Overall... these are the reasons why plugin wrapper must expressly include a plugin version that behaves with an older version of PGB.  Plugin versions should be used anyway... but are absolutely needed for OS these days.  Otherwise you get a current version of a plugin that has been updated to work with a current version of PGB... which OS does not support.

So... you can see the mess.  And... it's not just an OS mess.  PGB has been in flux and in a mess since it came into being.  I love it... but boy... is it a mess.  A few months ago it completely broke itself because of dependencies.

Even if the developer did update the plugin wrapper... it'd be hard to say when it would continue working with an old version of PGB... which is what OS is running.

An interesting comparison is Alpha Software.  They let you choose the PGB version you want to work with and you include the plugins directly... no wrapper as in OS.  Doing this give the developer more control... and the benefit of staying very current... but also gives you a lot more ammunition with which to shoot yourself in the foot.  You have to know what you're doing... and you have to know how one plugin may affect another.  It's no more or less of a mess... just a different kind of mess.

Can anyone confirm this from David 

"I'm not positive about this, but it seems OS has created their own wrapper around PGB... and so... have more control over the version used.  If this is the case, then that means the PGB version, and therfore the iOS, Android, and Windows versions, being used in OS are quite old (comparatively speaking)."


If this is the case what cli version should we look for when pulling cordova plugins?