Device specific cordova files


I am trying to achieve something similar to what is documented at where I can render the correct cordova files based on the mobile device. We’re trying to roll out a hybrid application and keep it 100% web based for the first iteration or two. Right now I am specifically trying to get the Calendar classes to function on iOS and Android devices.

My current build target is browser, so that may be incorrect in the situation. I may also be crazy in thinking this should work since I could have simply used browser supported cordova items in the past and never ran into this.

Is there a way to get Calendar and InAppBrowser both working for hosted apps?