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: http://www.androidpolice.com/2015/05/07/amazon-fire-phone-gets-android-kitkat-in-big-update-to-fire-os-version-4-6-1/