code-craft-studio
Version:
A comprehensive QR code and barcode scanning/generation library for React. Works with or without Capacitor. Supports 22+ QR data types and 14+ barcode formats (EAN, UPC, Code 128, etc.), with customizable designs, analytics, and React components. Provider
14 lines (13 loc) • 391 B
TypeScript
import type { PlatformDetector } from './types';
declare class PlatformDetectorImpl implements PlatformDetector {
private _isCapacitor;
isCapacitor(): boolean;
isWeb(): boolean;
isNative(): boolean;
getPlatformName(): string;
private detectCapacitor;
private isIOS;
private isAndroid;
}
export declare const platformDetector: PlatformDetectorImpl;
export {};