@adapty/capacitor
Version:
Official Adapty SDK for Capacitor
16 lines • 510 B
JavaScript
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