UNPKG

@capacitor-community/in-app-review

Version:

Lets you prompt users to submit app store ratings and reviews without leaving your app - using platform native dialogs.

25 lines (18 loc) 654 B
var capacitorInAppReview = (function (exports, core) { 'use strict'; const InAppReview = core.registerPlugin('InAppReview', { web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.InAppReviewWeb()), }); class InAppReviewWeb extends core.WebPlugin { async requestReview() { throw this.unimplemented('Not implemented on web.'); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, InAppReviewWeb: InAppReviewWeb }); exports.InAppReview = InAppReview; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map