Reading external device finger print data

Job ID: 34876184

Budget: ₹12,500 – ₹37,500 INR

Hello , i want to read external device finger data in react js .
I have coded in java which is working fine . But i want to convert it in react js .
I want to read finger print from device like MANTRA , MORPHO etc .

Currently i am using following steps to read device data

Intent intent2 = new Intent();
intent2.setAction("in.gov.uidai.rdservice.fp.CAPTURE");
intent2.setPackage("com.scl.rdservice");
intent2.putExtra("PID_OPTIONS","<?xml version="1.0" encoding="UTF-8" standalone="yes"?><PidOptions ver="1.0"><Opts fCount="1" fType="0" iCount="0" iType="0" pCount="0" pType="0" format="0" pidVer="2.0" timeout="20000" otp="" env="P" wadh="" posh="UNKNOWN"/><CustOpts><Param name="ValidationKey" value="ONLY USE FOR LOCKED DEVICES."/></CustOpts></PidOptions>");
startActivityForResult(intent2, 2);


All above code i need convert in react js