UNPKG

@adapty/capacitor

Version:
16 lines 510 B
import { WebPlugin } from '@capacitor/core'; export class AdaptyCapacitorPluginWeb extends WebPlugin { addListener(eventName, listenerFunc) { return super.addListener(eventName, listenerFunc); } async removeAllListeners() { await super.removeAllListeners(); } unsupported() { return this.unimplemented('[Adapty] Web platform is not supported'); } handleMethodCall() { return Promise.reject(this.unsupported()); } } //# sourceMappingURL=web.js.map