Fix: (bug)Can't find variable: onTransitionFinish
MODIFY
README.md
README.md
-# Cordova GoogleMaps plugin for iOS and Android (version 2.3.9)
+# Cordova GoogleMaps plugin for iOS and Android (version 2.3.10)
This plugin is a thin wrapper for [Google Maps Android API](https://developers.google.com/maps/documentation/android/) and [Google Maps SDK for iOS](https://developers.google.com/maps/documentation/ios/).
@@ -33,7 +33,7 @@ $> cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps#mu
```xml
<widget ...>
- <plugin name="cordova-plugin-googlemaps" spec="2.3.9">
+ <plugin name="cordova-plugin-googlemaps" spec="2.3.10">
<variable name="API_KEY_FOR_ANDROID" value="(api key)" />
<variable name="API_KEY_FOR_IOS" value="(api key)" />
</plugin>
@@ -75,6 +75,9 @@ In order to keep this plugin as free, please consider to donate little amount fo
---------------------------------------------------------------------------------------------------------
## Release Notes
+ - **v2.3.10**
+ - Fix: Can't find variable: `onTransitionFinish`
+
- **v2.3.9**
- Fix: `polyline.setPoints()` does not work in iOS
- Fix: App crashes on iOS if icon url is redirected to another url

MODIFY
package.json
package.json
{
"name": "cordova-plugin-googlemaps",
- "version": "2.3.9",
+ "version": "2.3.10",
"description": "Google Maps native SDK for Android and iOS",
"cordova": {
"id": "cordova-plugin-googlemaps",

MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.3.9" 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.3.10" 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
@@ -81,7 +81,7 @@ if (!cordova) {
document.body.parentNode.addEventListener("scroll", cordovaGoogleMaps.followMaps.bind(cordovaGoogleMaps), true);
window.addEventListener("resize", function() {
cordovaGoogleMaps.transforming = true;
- onTransitionFinish();
+ cordovaGoogleMaps.onTransitionFinish.call(cordovaGoogleMaps);
}, true);
});

Fix: (bug)Can't find variable: onTransitionFinish #2375