Hacker News new | ask | show | jobs
by yesimahuman 4371 days ago
It's a common misconception that phonegap and cordova don't have the same access to native APIs. They do, but they are limited by what plugins are available, and your ability or interest to build ones to fill the "gap."

For example, I wrote a plugin recently to send low-level broadcast UDP packets on Android and iOS through Cordova. The plugin API is just a bridge and sets up a calling convention for Javascript-to-native code.

3 comments

100% true. I'm going to piss many off by this statement I'm sure... but if you are a web developer Xamarin offers no advantages against PhoneGap/Cordova I don't know anyone that is "just a C# developer" and hasn't done any web development, maybe Xamarin makes sense for those.

Take a look at Ionic Framework if you think PhoneGap/Cordova can't provide a native look and feel.

Well, but if Xamarin comes with the functionality of that sort of plugin included, it's totally fair to say Xamarin has X and Cordova doesn't.
link to plugin please?