Ionic Framework – Cordova Uptime Plugin with Native Support

Hey, geeks!

After posting a mini tutorial about developing Ionic Native plugins, I’ve decided to show you my first Cordova plugin, with Android & iOS platform support and compatible with Ionic Native.

The plugin name is cordova-plugin-uptime, is under MIT license and you can find the TypeScript wrapper documentation for the Ionic Native support on their website and the source code on Ionic Native github.

It returns the monotonic up time, with possibility of including or not the device deep sleep using the

includeDeepSleep

parameter.

I made this for getting how things works with Cordova – learning – and giving the Ionic community back a piece of my appreciation.

References:

https://github.com/s1lviu/cordova-plugin-uptime
https://www.npmjs.com/package/cordova-plugin-uptime
https://ionicframework.com/docs/native/uptime/



Silviu Stroe

Silviu is a full stack developer and entrepreneur. He is the founder of one of the first VPN services in Romania, RoTunneling and is part of Yahoo - Wall of Fame. He also loves bleeding edge technologies and new challenges.

No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *