In the earlier example, we have already seen how we can integrate a device feature such as battery status with our Ionic app. Now, we are going to explore a few more such plugins and see how we can implement them.
Working with Cordova plugins using Ionic Native
Device
The first plugin we are going to look at in this section is the device plugin. This plugin describes the device's hardware and software specifications.
You can know more about this plugin here: https://github.com/apache/cordova-plugin-device or https://ionicframework.com/docs/native/device/.
Let us scaffold a new blank app and then add the device plugin to it:
ionic start -a "Example 16" -i app.example.sixteen example16 blank --v2
Once the app is scaffolded, cd into the example16 folder...