(Browser/iOS/Android) prevent null pointer error
As far as I know, this occurs when you use marker cluster rarely.
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.4.5-beta-20180919-2245" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
+<plugin id="cordova-plugin-googlemaps" version="2.4.5-beta-20180921-1220" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="Promise" src="www/Promise.js" />
<asset src="www/promise-7.0.4.min.js.map" target="promise-7.0.4.min.js.map" />

MODIFY
www/BaseClass.js
www/BaseClass.js
@@ -62,6 +62,9 @@ BaseClass.prototype = {
var listeners = this[SUBSCRIPTIONS_FIELD][eventName];
var i = listeners.length;
var args = Array.prototype.slice.call(arguments, 1);
+ listeners[i] = listeners[i].filter(function(listener) {
+ return !!listener;
+ });
while (i--) {
listeners[i].apply(this, args);

(Browser/iOS/Android) prevent null pointer error  #2431

As far as I know, this occurs when you use marker cluster rarely.