Fix: onPause causes app crashes on Android
MODIFY
src/android/plugin/google/maps/CordovaGoogleMaps.java
src/android/plugin/google/maps/CordovaGoogleMaps.java
@@ -513,7 +513,9 @@ public class CordovaGoogleMaps extends CordovaPlugin implements ViewTreeObserver
@Override
public void onPause(boolean multitasking) {
super.onPause(multitasking);
+ if (mPluginLayout != null) {
mPluginLayout.stopTimer();
+ }
Collection<PluginEntry>pluginEntries = pluginManager.getPluginEntries();
for (PluginEntry pluginEntry: pluginEntries) {

Fix: onPause causes app crashes on Android #2304