You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GoogleMaps.java
line 218:
if (("getMap".equals(action) == false && "isAvailable".equals(action) == false ) && [...]){ ... }
The above causes the plugin to reject the getLicenseInfo action if the map plugin has not been initialized. This action does not require initializing the map in order to display the License Information.
The fix is quite simple:
line 218:
if (("getMap".equals(action) == false && "isAvailable".equals(action) == false && "getLicenseInfo".equals(action) == false) && [...]){...}
I've tested this on my application on my Android device (Verizon Motorola Droid Mini) and it works. This problem does not seem to exist on the ios part of this plugin.
The application I am developing doesn't load a googlemap as the first screen. I also have the licensing info somewhere else in the application that doesn't require creating a google map screen initially. Please put this fix in for others who need this functionality in order to satisfy the terms of use.
You may need to review other commands that could have this same issue.
Thank you!
The text was updated successfully, but these errors were encountered:
Can you explain how you used this function, because I'm using v1.2.5 and when i try to call this function from plugin.google.maps.Map.getLicenseInfo() it is undefined?
I only use the map in one of my tabs so it is not always initialized either.
GoogleMaps.java
line 218:
if (("getMap".equals(action) == false && "isAvailable".equals(action) == false ) && [...]){ ... }
The above causes the plugin to reject the getLicenseInfo action if the map plugin has not been initialized. This action does not require initializing the map in order to display the License Information.
The fix is quite simple:
line 218:
if (("getMap".equals(action) == false && "isAvailable".equals(action) == false && "getLicenseInfo".equals(action) == false) && [...]){...}
I've tested this on my application on my Android device (Verizon Motorola Droid Mini) and it works. This problem does not seem to exist on the ios part of this plugin.
The application I am developing doesn't load a googlemap as the first screen. I also have the licensing info somewhere else in the application that doesn't require creating a google map screen initially. Please put this fix in for others who need this functionality in order to satisfy the terms of use.
You may need to review other commands that could have this same issue.
Thank you!
The text was updated successfully, but these errors were encountered: