> For the complete documentation index, see [llms.txt](https://docs.accurascan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.accurascan.com/solutions/nfc-scanner/flutter/setup-accura-nfc.md).

# Setup Accura NFC

### Setting up License

```
  Future<void> getMetaData() async{
    try {
      await AccuraOcr.getMetaData().then((value) =>
          var result = json.decode(value);
          print(result["isValid"]);
    }on PlatformException{}
    if (!mounted) return;
  }
```

### Method to start Passport NFC.

```
// Add your Passport No. , Date of Birth(ddmmyy), Date of expiry(ddmmyy) in the below format and order(String).
      var passArgs = [
        passportNo,
        dob,
        doe,
      ];

      // Start NFC process using the method channel
      await AccuraOcr.startNFC(passArgs).then((response) {
        print("NFC Result: $response");
      }).catchError((error) {
        print("NFC error: $error");
      });
    } on PlatformException {}
```
