I’ve been following a nice tutorial by Nic Raboy to determine network availability.
However, my app is complaining when I call platform.device(). The error I catch reads _this.platform.device is not a function.
I see that the Ionic v1 API has exposed the device() function, however, there’s no mention of it in the current v2 API
Ionic v2 API as of April 7 '16: http://ionicframework.com/docs/v2/api/platform/Platform/
I’d really appreciate any insight getting around this problem.