@adapty/capacitor
Version:
Official Adapty SDK for Capacitor
12 lines (11 loc) • 499 B
TypeScript
import { WebPlugin } from '@capacitor/core';
import type { PluginListenerHandle } from '@capacitor/core';
import type { AdaptyCapacitorPlugin } from './definitions';
export declare class AdaptyCapacitorPluginWeb extends WebPlugin implements AdaptyCapacitorPlugin {
addListener(eventName: string, listenerFunc: (data: {
data: string;
}) => void): Promise<PluginListenerHandle>;
removeAllListeners(): Promise<void>;
private unsupported;
handleMethodCall(): Promise<any>;
}