{
  "api": {
    "name": "CapgoInAppReviewPlugin",
    "slug": "capgoinappreviewplugin",
    "docs": "Capacitor In-App Review Plugin interface for prompting users\nto submit app store ratings and reviews without leaving the app.",
    "tags": [
      {
        "text": "1.0.0",
        "name": "since"
      }
    ],
    "methods": [
      {
        "name": "requestReview",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [
          {
            "name": "returns",
            "text": "Promise that resolves when the review flow has finished"
          },
          {
            "name": "throws",
            "text": "Error if the review flow fails to start"
          },
          {
            "name": "since",
            "text": "1.0.0"
          },
          {
            "name": "example",
            "text": "```typescript\nimport { CapgoInAppReview } from '@capgo/capacitor-in-app-review';\n\n// Request a review at an appropriate moment in your app\nawait CapgoInAppReview.requestReview();\n```"
          }
        ],
        "docs": "Request an in-app review from the user.\n\nThis method triggers the native in-app review dialog provided by the platform.\nOn iOS, it uses SKStoreReviewController. On Android, it uses the Play In-App Review API.\n\n**Important Notes:**\n- The review dialog may not be displayed every time this method is called.\n  Both Apple and Google have guidelines that limit how often the prompt can appear.\n- There is no guarantee that the user will see the review prompt.\n- The method resolves successfully even if the dialog was not shown.\n- Do not call this in response to a user action like a button tap.\n  Instead, call it at natural points in your app's user flow.",
        "complexTypes": [],
        "slug": "requestreview"
      },
      {
        "name": "getPluginVersion",
        "signature": "() => Promise<{ version: string; }>",
        "parameters": [],
        "returns": "Promise<{ version: string; }>",
        "tags": [
          {
            "name": "returns",
            "text": "Promise that resolves with the plugin version"
          },
          {
            "name": "throws",
            "text": "Error if getting the version fails"
          },
          {
            "name": "since",
            "text": "1.0.0"
          },
          {
            "name": "example",
            "text": "```typescript\nconst { version } = await CapgoInAppReview.getPluginVersion();\nconsole.log('Plugin version:', version);\n```"
          }
        ],
        "docs": "Get the native Capacitor plugin version.",
        "complexTypes": [],
        "slug": "getpluginversion"
      }
    ],
    "properties": []
  },
  "interfaces": [],
  "enums": [],
  "typeAliases": [],
  "pluginConfigs": []
}