Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback not initiating on ios 14.6 with ns 8 #72

Open
AchrafBardan opened this issue Jun 21, 2021 · 4 comments
Open

Callback not initiating on ios 14.6 with ns 8 #72

AchrafBardan opened this issue Jun 21, 2021 · 4 comments

Comments

@AchrafBardan
Copy link

This is my code

new  Nfc().setOnNdefDiscoveredListener(
      (data: NfcNdefData) => {
        console.log(data)
      },
      {
        stopAfterFirstRead: true
      }
    ).then(data => {
      return data;
    })
    .catch(() => {
      throw new Error("nfc fail")
    }
    );

When i run this the visual nfc scan view gets showen
AADBA7B2-7310-4494-B85E-148F2413FE6F

But nfc cards are not being scanned this is showen in the console:

00000002 83138630 -[NFCNDEFReaderSession beginSession]:293[NFCNDEFReaderSessiondidUIControllerInvalidate:]:187  sessionState=2, proxy=YES

Dankje Eddy voor alle contributies die je hebt gedaan voor de NativeScript community

@mastashake08
Copy link

Same issue

@b8ne
Copy link

b8ne commented Dec 7, 2021

Has anyone got a solution for this yet?

@mastashake08
Copy link

mastashake08 commented Dec 9, 2021 via email

@BenShelton
Copy link

This looks to be a duplicate of #70, solutions are there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants