UNPKG

unfc

Version:

A framework-agnostic NFC package for reading/writing NFC tags in web apps and PWAs

24 lines (23 loc) 639 B
export interface IosSupportInfo { isIos: boolean; version: number | null; supportsNfc: boolean; requiresNative: boolean; } /** * Provides detailed information about iOS NFC compatibility */ export declare class IosDetection { /** * Detects if the current device is running iOS and its NFC capabilities */ static getIosSupportInfo(): IosSupportInfo; /** * Checks if this device supports NFC in any form (native or web) */ static hasNfcHardware(): boolean; /** * Provides guidance for enabling NFC on iOS */ static getIosNfcGuidance(): string; }