I am trying to get the device id in ionic2 using typescript.
I installed a cord plug-in device
And my code ...
platform.ready().then(() => { console.log(device.cordova); }
But that does not work.
When I run the application on the device, there is no log.
Please help me.
Thanks!
source share