UNPKG

capacitor-detect-mobile-services

Version:
33 lines (25 loc) 958 B
var capacitorDetectMobileServices = (function (exports, core) { 'use strict'; 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; Object.defineProperty(exports, '__esModule', { value: true }); return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map