Yes that’s where I got the documentation for the device plugin. As it says on the page $cordovaDevice.getUUID() should return a string of the device’s UUID. It seems, at least in my situation, it doesn’t return anything in Ionic View.
I’ve just created a completely fresh project. I installed ngCordova and its Geolocation plugin and I got it to alert() my location in Ionic View. Worked fine. Then I installed ngCordova’s Device plugin. Trying to alert my UUID within Ionic View fails again.
Any ideas why it just seems that ngCordova’s Device plugin isn’t playing nicely with Ionic View? Has anyone had success with this?
I’m having same problem with “Ionic View”. Has anyone tried with Facebook plugin? Note the OP is specifically referring to using the mobile app “Ionic View” on their device. Not ionic serve or anything local on their machine for development. This is a mobile app for previewing Ionic developed apps without having to install your application directly onto device but test it from the cloud. I could be wrong but I would guess Ionic View only supports the changes HTML JS content and anything native would have to be preinstalled with Ionic View. Geolocation and others that can use the HTML5 specs as fallback may still work but what about other Cordova plugins?