SkateSpots/packages/skatespots-nfc/package.json
SkateSpots 7d51fc60a5 feat(nfc): native Android tag-writer plugin (APK) + Web NFC on web
Web NFC isn't exposed in Capacitor's WebView, so the APK needs a native writer.
Adds packages/skatespots-nfc — a local Capacitor Android plugin (Kotlin,
enableReaderMode + NDEF URL record), registered BY NAME (not bundled). lib/nfc.ts
now uses the plugin on native and Web NFC on the web. iOS can't write tags.
⚠️ UNVERIFIED (needs cap sync + a device). README documents it.
2026-10-02 14:14:31 +07:00

18 lines
432 B
JSON

{
"name": "skatespots-nfc",
"version": "0.0.1",
"private": true,
"description": "SkateSpots native NFC tag writer (Web NFC isn't exposed in the Capacitor WebView). Writes only the verify URL.",
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",
"capacitor": {
"android": {
"src": "android"
}
},
"files": ["src", "android"],
"dependencies": {
"@capacitor/core": "^8.4.2"
}
}