Wants to check wether device is finger print compatible or not

Ionic 2 - wants to check weather device is finger print compatible and after that if yes then wants to check there is any finger print registered on that device.

If(device is fingerprint auth compatible){
if(is any finger print registered on device){
// i will write some code
} else {
// need to ask for finger print setup for device
}
} else {
// cannot go for this auth
}

You will need a Cordova plugin or Ionic Native plugin that supports fingerprint authentication.

@Sujan12 i already did that but my question is if that device has the fingerprint authentication facility (scanner ) but still not set up (no fingerprint added). then how can i check and ask user to setup that first.

That would probably be some functionality the plugin would have to offer.