Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49308

Using browser APIs over Ionic Native APIs

$
0
0

@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 or offline events to check basic status (or navigator.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

Read full topic


Viewing all articles
Browse latest Browse all 49308

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>