'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var core = require('@capacitor/core');

const Appsflyer = core.registerPlugin('Appsflyer', {
    web: () => Promise.resolve().then(function () { return web; }).then(m => new m.AppsflyerWeb()),
});

class AppsflyerWeb extends core.WebPlugin {
    async echo(options) {
        console.log('ECHO', options);
        return options;
    }
    async identify(options) {
        console.log('This method should be used only for native platforms', options);
    }
    async initialize() {
        console.log('This method should be used only for native platforms');
    }
    async track(options) {
        console.log('This method should be used only for native platforms', options);
    }
    async trackPage(options) {
        console.log('This method should be used only for native platforms', options);
    }
}

var web = /*#__PURE__*/Object.freeze({
    __proto__: null,
    AppsflyerWeb: AppsflyerWeb
});

exports.Appsflyer = Appsflyer;
//# sourceMappingURL=plugin.cjs.js.map
