Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.github.skjolber.android.nfc:wrapper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.skjolber.android.nfc:wrapper

Wrapped NFC classes for working with external NFC readers on Android

  • 1.0.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Build Status

android-nfc-wrapper

Project cloning + wrapping black- and greylisted Android NFC (android.nfc) classes.

Features:

  • Clones a lot of NFC-related interfaces (aidls) and classes, like Ndef, Tag and IsoDep
  • Adds wrappers so that the cloned source works in parallel with the native sources

Advantages:

  • external readers can use the same pattern as internal NFC (i.e. parcelable objects reconnecting to services on deserialization).
  • working with dual NFC stacks is simplified, even on the latest Android; independent of which classes will be grey- or blacklisted later.

Disadvantages:

  • increased footprint due to additonal (duplicated) classes
  • does not work out of the box with third party libraries - they must be modified / recompiled to work. This can be solved with a custom processor, but this is yet to be implemented.

License

Apache 2.0

Obtain

The project is built with Gradle and is available on the central Maven repository. For Gradle, configure the property

ext {
  androidNfcWrapperVersion = '1.0.1'
}

and add the dependency

api("com.github.skjolber.android.nfc:wrapper:${androidNfcWrapperVersion}@aar")

History

  • 1.0.1: Return null when tag technology is not in tech list.
  • 1.0.0: Initial version extracted from the external-nfc-api project.

FAQs

Package last updated on 10 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc