Returns to user, the internet connection type (5G, 4G, etc)
npm install cap-network-typeReturns to user, the internet connection type (5G, 4G, etc)
``bash`
npm install cap-network-type
npx cap sync
`typescript``
getNetworkType() => Promise<{ networkType: string; }>
Returns: Promise<{ networkType: string; }>
--------------------