Monday, July 15, 2019

Cordova InAppBrowser EventListeners not working on iOS


Hi All


I'm using cordova-inappbrowser plugin for several purposes inside a cordova app. This plugin worked without a problem for months.

Then  I noticed its not firing loadstop event when the navigation completed. After 3-4 hours of hit and misses found the perfect solution.


Problem was my iOS platform wasn't latest.

So when you developing apps using cordova make sure your platform versions and plugins are up-to date with OS upgraded.

So all I had to do is



Removing iOS platform.

cordova platform rm ios

Adding iOS platform - Latest Version 

cordova platform add ios

Removing the plugin cordova-plugin-inappbrowser 

cordova plugin remove cordova-plugin-inappbrowser

Adding the plugin cordova-plugin-inappbrowser - Latest Version 

cordova plugin add cordova-plugin-inappbrowser

Thursday, July 4, 2019

Using google places API with ASP.net Server Controls


 When you are trying to using Google places API on a ASP:TextBox it will give you following error.

InvalidValueError: not an instance of HTMLInputElement

 Reason for this is APS.net creating a client control as a TextArea not as an input field. Current version of Google Places API not supporting TextAreas for some reason.

But good news is you can still use ASP:TextBox with Google Places API. Only change you should make is set the TextMode of your ASP:TexBox as search.


TextMode = "Search"