Bug fix: the backbutton does not work on Android
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.0.0-beta3-20170903-1533" 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.0.0-beta3-20170903-1743" 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="BaseClass" src="www/BaseClass.js">
<runs />

MODIFY
www/googlemaps-cdv-plugin.js
www/googlemaps-cdv-plugin.js
@@ -481,6 +481,8 @@ if (!cordova) {
cordova.fireDocumentEvent('plugin_touch', {});
if (anotherBackbuttonHandler) {
anotherBackbuttonHandler();
+ } else {
+ cordova_exec(null, null, 'CordovaGoogleMaps', 'backHistory', []);
}
}
document.addEventListener("backbutton", onBackButton);

Bug fix: the backbutton does not work on Android