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.

22 lines (16 loc) 539 B
'use strict'; var core = require('@capacitor/core'); 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; //# sourceMappingURL=plugin.cjs.js.map