@tomahony wrote:
I’m new to Ionic and mobile development (but have lots of web dev experience). I’m confused about the use case for some Ionic Native plugins.
For example, the Network plugin (and underlying cordova plugin) allows you to check online/offline status for a device (presumably using the underlying native APIs available on the device). But this functionality already exists in the browser API where you can use the
online
oroffline
events to check basic status (ornavigator.onLine
).Is the purpose of the Native library to provide extra functionality on top of what is already available in the browser by default? Are all browser APIs available in Ionic/Cordova and is there somewhere where I can see what APIs are available in the WebView? When should you choose one over the other?
Posts: 2
Participants: 2