UNPKG

capacitor-detect-mobile-services

Version:
30 lines (23 loc) 806 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var core = require('@capacitor/core'); const DetectMobileServices = core.registerPlugin('DetectMobileServices', { web: () => Promise.resolve().then(function () { return web; }).then(m => new m.DetectMobileServicesWeb()), }); class DetectMobileServicesWeb extends core.WebPlugin { async GetMediaService() { return Promise.resolve({ value: "web" }); } HasHMS() { return Promise.resolve({ value: false }); } HasGMS() { return Promise.resolve({ value: false }); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, DetectMobileServicesWeb: DetectMobileServicesWeb }); exports.DetectMobileServices = DetectMobileServices; //# sourceMappingURL=plugin.cjs.js.map