nfc reader will not be studying in flutter ios

0
23
nfc reader will not be studying in flutter ios


I’m utilizing nfc_manager to learn the nfc passport (e-passport). In android gadget app is studying nfc tag and giving the output however in ios gadget able to scan window seem however do not scan the nfc. I’m utilizing iphone 12 professional for testing it. I additionally tried with the flutter_nfc_kit and bought the identical situation.

I cloned the https://github.com/okadan/flutter-nfc-manager and checked it and bought the identical situation.

My ios model is 17.7

I put in 4 apps from appstore:

  1. NFC Faucet
  2. NFC.cool Instruments Tag Reader
  3. NFC Instruments
  4. NFC Checker

Solely within the 4th app (NFC Checker) my cell is studying the tag and in 1st, 2nd and third I get the identical situation.

My Query is why I get this situation?
Is there any one thing I’ve to allow to learn nfc tag?

Right here is my data.plist file:






    CFBundleDevelopmentRegion
    $(DEVELOPMENT_LANGUAGE)
    com.apple.developer.nfc.readersession.codecs
    
        NDEF
        TAG
        ISO7816
        ISO14443
        FeliCa
        MIFARE
    
    com.apple.developer.nfc.readersession.felica.systemcodes
    
        12FC
        8005
        8008
        0003
        fe00
        90b7
        927a
        86a7
        04D1
        80DE
        865E
        8592
        8B5D
        8FC1
        FE00
        0000
    
    com.apple.developer.nfc.readersession.iso7816.select-identifiers
    
        A0000002471001
        A00000000386980701
        A000000003101001
        A000000003101002
        A0000000041010
        A0000000042010
        A0000000044010
        44464D46412E44466172653234313031
        D2760000850100
        D2760000850101
        00000000000000
        F00102030405
    
    CFBundleDisplayName
    Abdox App
    CFBundleExecutable
    $(EXECUTABLE_NAME)
    CFBundleIdentifier
    $(PRODUCT_BUNDLE_IDENTIFIER)
    CFBundleInfoDictionaryVersion
    6.0
    CFBundleName
    abdox_app
    CFBundlePackageType
    APPL
    CFBundleShortVersionString
    $(FLUTTER_BUILD_NAME)
    CFBundleSignature
    ????
    CFBundleVersion
    $(FLUTTER_BUILD_NUMBER)
    LSRequiresIPhoneOS
    
    UILaunchStoryboardName
    LaunchScreen
    UIMainStoryboardFile
    Predominant
    UISupportedInterfaceOrientations
    
        UIInterfaceOrientationPortrait
        UIInterfaceOrientationLandscapeLeft
        UIInterfaceOrientationLandscapeRight
    
    UISupportedInterfaceOrientations~ipad
    
        UIInterfaceOrientationPortrait
        UIInterfaceOrientationPortraitUpsideDown
        UIInterfaceOrientationLandscapeLeft
        UIInterfaceOrientationLandscapeRight
    
    CADisableMinimumFrameDurationOnPhone
    
    UIApplicationSupportsIndirectInputEvents
    
    NFCReaderUsageDescription
    Software requires entry to NFC


Right here is the code of my view:

import 'dart:developer';

import 'bundle:flutter/materials.dart';
import 'bundle:nfc_manager/nfc_manager.dart';

class ScanView extends StatefulWidget {
  ScanView({tremendous.key});

  @override
  State createState() => _ScanViewState();
}

class _ScanViewState extends State {
  ValueNotifier outcome = ValueNotifier(null);

  void _tagRead() async {
    bool isAvailable = await NfcManager.occasion.isAvailable();
    print("--->$isAvailable");
    NfcManager.occasion.startSession(
        onError: (error) async {
          log("-->${error.message}");
          NfcManager.occasion.stopSession();
        },
        onDiscovered: (NfcTag tag) async {
          attempt {
            outcome.worth = tag.information;
            log("==>${outcome}");
            NfcManager.occasion.stopSession();
          } catch (e) {
            print("${e}");
          } lastly {
            NfcManager.occasion.stopSession();
          }
        });
  }

  @override
  Widget construct(BuildContext context) {
    return Scaffold(
      physique: Container(
        width: double.infinity,
        little one: Column(
          mainAxisAlignment: MainAxisAlignment.middle,
          crossAxisAlignment: CrossAxisAlignment.middle,
          kids: [
              ElevatedButton(
                onPressed: () {
                  _tagRead();
                },
                child: Text("Scan"),
              ),
          ],
        ),
      ),
    );
  }
}

I additionally added Close to Discipline Communication Tag Studying

Right here is Xcode ScreenShot:

enter image description here

Right here is my developer account screenshot:

enter image description here

Right here is the screenshot of able to scan window:

enter image description here

LEAVE A REPLY

Please enter your comment!
Please enter your name here