How to get platform info when android run on amazon phone using cordova

I have a device amazon phone and run android KitKat. When I install a apk developed using cordova, and install cordova-plugin-device. I need to get the device platform to do something. But the cordova return it as amazon-fireos. How to get device.platform info(like android version, platform…etc) as android but run on amazon-fireos?

[1]ref to: