{"_id":"@capgo/capacitor-firebase-app-check","_rev":"4-710169d32e00e314ea7fa93306795c6e","name":"@capgo/capacitor-firebase-app-check","dist-tags":{"latest":"7.4.2"},"versions":{"7.4.0":{"name":"@capgo/capacitor-firebase-app-check","version":"7.4.0","keywords":["capacitor","plugin","native"],"author":{"name":"Capgo Team"},"license":"Apache-2.0","_id":"@capgo/capacitor-firebase-app-check@7.4.0","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"339864b9e4947b1f1cc695240299dcd21a4199aa","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-app-check/-/capacitor-firebase-app-check-7.4.0.tgz","fileCount":29,"integrity":"sha512-JvmgFNXz3wNnvzQkLMsXR6EHfeuYxSMU7Sob/0FqO4E5d5+9hs348aPp5VK6NG0mWkeAb8gGWlupOpQU9IUH4Q==","signatures":[{"sig":"MEYCIQCGS6RlGn6gnCeQ2XylhZReJ/U8OPb4OjJFbZ762GTzTAIhAN0EfTeo2Cg1DHXmDRoiOv972FvHMkr1gNPqar7CuZOC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96668},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"97786da96a720a520f80ac1031a0f12063f135d7","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseAppCheckPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorFirebaseAppCheck -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor plugin for Firebase App Check.","directories":{},"_nodeVersion":"24.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/ios":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"2.0.0"},"peerDependencies":{"firebase":"12.6.0","@capacitor/core":">=7.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/capacitor-firebase-app-check_7.4.0_1763998868476_0.9155672720383308","host":"s3://npm-registry-packages-npm-production"}},"7.4.1":{"name":"@capgo/capacitor-firebase-app-check","version":"7.4.1","keywords":["capacitor","plugin","native"],"author":{"name":"Capgo Team"},"license":"Apache-2.0","_id":"@capgo/capacitor-firebase-app-check@7.4.1","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"22393b95f4c7244fbafe57821cac36899c744082","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-app-check/-/capacitor-firebase-app-check-7.4.1.tgz","fileCount":29,"integrity":"sha512-9t+RjPfLLcxQOG5vXHhmg1+d/cgWMuiGVBDGm4gavTKZh7QYy6GyroNhduxaDwFORkl3BdAgGIjaZNQancgAxQ==","signatures":[{"sig":"MEUCIHrTJ5b7M/634bVr4g5aWfMmtwre+qcjHtfYWt0dhMx5AiEApro32BD2ZiGhJhd51B5rVDE6PAfXsHaE3tknxM5poYY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96652},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"c965f5a7def32792245434af874be9775557c34d","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseAppCheckPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorFirebaseAppCheck -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor plugin for Firebase App Check.","directories":{},"_nodeVersion":"24.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/ios":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"2.0.0"},"peerDependencies":{"firebase":"12.6.0","@capacitor/core":">=7.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/capacitor-firebase-app-check_7.4.1_1763999699110_0.7681660241393722","host":"s3://npm-registry-packages-npm-production"}},"7.4.2":{"name":"@capgo/capacitor-firebase-app-check","version":"7.4.2","keywords":["capacitor","plugin","native"],"author":{"name":"Capgo Team"},"license":"MPL-2.0","_id":"@capgo/capacitor-firebase-app-check@7.4.2","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"fb58b75ac423877a500d950e2abe7bafb29ff206","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-app-check/-/capacitor-firebase-app-check-7.4.2.tgz","fileCount":29,"integrity":"sha512-jp4OlsD+3Wy2EkEFNtPGC5DN1ITJJGiRiSepDPkKEbZIuUYvHKQfq8gjSi94Q8i361qmblW9MRVvnWfk/s+hnw==","signatures":[{"sig":"MEUCIQCZFPgx4m49BwB/bDxZ+wpSfSnjnZxyxe9zKpZKX6ZOPAIgNhIIi1YiE0VKvsyCQvwErPG6XQJ2P9V6iQtOuE7KXdE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102004},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"325442c77ca9e7b07ab0cb9abe1637a498043e0f","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseAppCheckPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorFirebaseAppCheck -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor plugin for Firebase App Check.","directories":{},"_nodeVersion":"24.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/ios":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"2.0.0"},"peerDependencies":{"firebase":"12.6.0","@capacitor/core":">=7.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/capacitor-firebase-app-check_7.4.2_1764858670940_0.3537682753513076","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-11-24T15:41:07.976Z","modified":"2026-08-19T10:40:42.811Z","7.4.0":"2025-11-24T15:41:08.647Z","7.4.1":"2025-11-24T15:54:59.293Z","7.4.2":"2025-12-04T14:31:11.087Z"},"bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"author":{"name":"Capgo Team"},"license":"MPL-2.0","homepage":"https://capgo.app/","keywords":["capacitor","plugin","native"],"repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"description":"Capacitor plugin for Firebase App Check.","maintainers":[{"email":"martin.donadieu@hey.com","name":"riderx"},{"email":"tori@capgo.app","name":"torichancapgo"}],"readme":"# @capacitor-firebase/app-check\n\nUnofficial Capacitor plugin for [Firebase App Check](https://firebase.google.com/docs/app-check).[^1]\n\n<div class=\"capawesome-z29o10a\">\n  <a href=\"https://cloud.capawesome.io/\" target=\"_blank\">\n    <img alt=\"Deliver Live Updates to your Capacitor app with Capawesome Cloud\" src=\"https://cloud.capawesome.io/assets/banners/cloud-deploy-real-time-app-updates.png?t=1\" />\n  </a>\n</div>\n\n## Installation\n\n```bash\nnpm install @capacitor-firebase/app-check firebase\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#android) / [iOS](https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#ios) / [Web](https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#web)).\n\n### Android\n\nSee [Set up your Firebase project](https://firebase.google.com/docs/app-check/android/play-integrity-provider#project-setup) and follow the instructions to set up your app correctly.\n\n#### Variables\n\nIf needed, you can define the following project variable in your app’s `variables.gradle` file to change the default version of the dependency:\n\n- `$firebaseAppCheckPlayIntegrityVersion` version of `com.google.firebase:firebase-appcheck-playintegrity` (default: `18.0.0`)\n- `$firebaseAppCheckDebugVersion` version of `com.google.firebase:firebase-appcheck-debug` (default: `18.0.0`)\n\nThis can be useful if you encounter dependency conflicts with other plugins in your project.\n\n### iOS\n\nOn **iOS 14 and later**, see [Set up your Firebase project](https://firebase.google.com/docs/app-check/ios/app-attest-provider#project-setup) and follow the instructions to set up your app correctly.\n\nOn **iOS 13**, see [Set up your Firebase project](https://firebase.google.com/docs/app-check/ios/devicecheck-provider#project-setup) and follow the instructions to set up your app correctly.\n\nMake sure that the private key (\\*.p8) you upload to Firebase has `DeviceCheck` selected as a service.\n\n### Web\n\nSee [Set up your Firebase project](https://firebase.google.com/docs/app-check/web/recaptcha-provider#project-setup) and follow the instructions to set up your app correctly.\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Firebase JavaScript SDK\n\n[Here](https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/app-check/docs/firebase-js-sdk.md) you can find information on how to use the plugin with the Firebase JS SDK.\n\n## Demo\n\nA working example can be found here: [robingenz/capacitor-firebase-plugin-demo](https://github.com/robingenz/capacitor-firebase-plugin-demo)\n\n## Usage\n\n```typescript\nimport { FirebaseAppCheck } from '@capacitor-firebase/app-check';\nimport { ReCaptchaV3Provider } from '@capacitor-firebase/app-check';\nimport { Capacitor } from '@capacitor/core';\n\nconst initialize = async () => {\n  await FirebaseAppCheck.initialize({\n    provider: Capacitor.getPlatform() === 'web' ? new ReCaptchaV3Provider('myKey') : undefined,\n  });\n};\n\nconst getToken = async () => {\n  const { token } = FirebaseAppCheck.getToken({\n    forceRefresh: false,\n  });\n  return token;\n};\n\nconst setTokenAutoRefreshEnabled = async () => {\n  await FirebaseAppCheck.setTokenAutoRefreshEnabled({ enabled: true });\n};\n\nconst addTokenChangedListener = async () => {\n  await FirebaseAppCheck.addListener('tokenChanged', event => {\n    console.log('tokenChanged', { event });\n  });\n};\n\nconst removeAllListeners = async () => {\n  await FirebaseAppCheck.removeAllListeners();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getToken(...)`](#gettoken)\n* [`initialize(...)`](#initialize)\n* [`setTokenAutoRefreshEnabled(...)`](#settokenautorefreshenabled)\n* [`addListener('tokenChanged', ...)`](#addlistenertokenchanged-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getToken(...)\n\n```typescript\ngetToken(options?: GetTokenOptions | undefined) => Promise<GetTokenResult>\n```\n\nGet the current App Check token.\n\n| Param         | Type                                                        |\n| ------------- | ----------------------------------------------------------- |\n| **`options`** | <code><a href=\"#gettokenoptions\">GetTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#gettokenresult\">GetTokenResult</a>&gt;</code>\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### initialize(...)\n\n```typescript\ninitialize(options?: InitializeOptions | undefined) => Promise<void>\n```\n\nActivate App Check for the given app.\nCan be called only once per app.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#initializeoptions\">InitializeOptions</a></code> |\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### setTokenAutoRefreshEnabled(...)\n\n```typescript\nsetTokenAutoRefreshEnabled(options: SetTokenAutoRefreshEnabledOptions) => Promise<void>\n```\n\nSet whether the App Check token should be refreshed automatically or not.\n\n| Param         | Type                                                                                            |\n| ------------- | ----------------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#settokenautorefreshenabledoptions\">SetTokenAutoRefreshEnabledOptions</a></code> |\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### addListener('tokenChanged', ...)\n\n```typescript\naddListener(eventName: 'tokenChanged', listenerFunc: TokenChangedListener) => Promise<PluginListenerHandle>\n```\n\nCalled when the App Check token changed.\n\n| Param              | Type                                                                  |\n| ------------------ | --------------------------------------------------------------------- |\n| **`eventName`**    | <code>'tokenChanged'</code>                                           |\n| **`listenerFunc`** | <code><a href=\"#tokenchangedlistener\">TokenChangedListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\nOnly available for Web.\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetTokenResult\n\n| Prop                   | Type                | Description                                                                                                      | Since |\n| ---------------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------- | ----- |\n| **`token`**            | <code>string</code> | The App Check token in JWT format.                                                                               | 1.3.0 |\n| **`expireTimeMillis`** | <code>number</code> | The timestamp after which the token will expire in milliseconds since epoch. Only available for Android and iOS. | 1.3.0 |\n\n\n#### GetTokenOptions\n\n| Prop               | Type                 | Description                                                                                                 | Default            | Since |\n| ------------------ | -------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`forceRefresh`** | <code>boolean</code> | If `true`, will always try to fetch a fresh token. If `false`, will use a cached token if found in storage. | <code>false</code> | 1.3.0 |\n\n\n#### InitializeOptions\n\n| Prop                            | Type                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                         | Default                          | Since |\n| ------------------------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ----- |\n| **`debug`**                     | <code>boolean</code>           | If `true`, the debug provider is used. ⚠️ **Attention**: The debug provider allows access to your Firebase resources from unverified devices. Don't use the debug provider in production builds of your app, and don't share your debug builds with untrusted parties. ⚠️ **Deprecated**: Use `debugToken` instead. This option will be removed in the next major version. Read more: https://firebase.google.com/docs/app-check/web/debug-provider | <code>false</code>               | 1.3.0 |\n| **`debugToken`**                | <code>string \\| boolean</code> | If `true`, the debug provider is used. On **Web**, you can also set a predefined debug token string instead of `true`. On Android and iOS, you have to use environment variables for this. ⚠️ **Attention**: The debug provider allows access to your Firebase resources from unverified devices. Don't use the debug provider in production builds of your app, and don't share your debug builds with untrusted parties.                          | <code>false</code>               | 7.1.0 |\n| **`isTokenAutoRefreshEnabled`** | <code>boolean</code>           | If `true`, the SDK automatically refreshes App Check tokens as needed.                                                                                                                                                                                                                                                                                                                                                                              | <code>false</code>               | 1.3.0 |\n| **`provider`**                  | <code>any</code>               | The provider to use for App Check. Must be an instance of `ReCaptchaV3Provider`, `ReCaptchaEnterpriseProvider`, or `CustomProvider`. Only available for Web.                                                                                                                                                                                                                                                                                        | <code>ReCaptchaV3Provider</code> | 7.1.0 |\n| **`siteKey`**                   | <code>string</code>            | The reCAPTCHA v3 site key (public key). This option is ignored when `provider` is set. Only available for Web.                                                                                                                                                                                                                                                                                                                                      |                                  | 1.3.0 |\n\n\n#### InstanceFactoryOptions\n\n| Prop                     | Type                |\n| ------------------------ | ------------------- |\n| **`instanceIdentifier`** | <code>string</code> |\n| **`options`**            | <code>{}</code>     |\n\n\n#### SetTokenAutoRefreshEnabledOptions\n\n| Prop          | Type                 | Description                                                                                                                      | Since |\n| ------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`enabled`** | <code>boolean</code> | If `true`, the SDK automatically refreshes App Check tokens as needed. This overrides any value set during initializeAppCheck(). | 1.3.0 |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### TokenChangedEvent\n\n| Prop        | Type                | Description                        | Since |\n| ----------- | ------------------- | ---------------------------------- | ----- |\n| **`token`** | <code>string</code> | The App Check token in JWT format. | 1.3.0 |\n\n\n### Type Aliases\n\n\n#### InitializeOptions\n\n<code><a href=\"#instancefactoryoptions\">InstanceFactoryOptions</a></code>\n\n\n#### TokenChangedListener\n\nCallback to receive the token change event.\n\n<code>(event: <a href=\"#tokenchangedevent\">TokenChangedEvent</a>): void</code>\n\n</docgen-api>\n\n## Testing\n\n### Android\n\nFollow these steps to test your implementation on a real device:\n\n1. Start your app on the Android device.\n1. Run the following command to grab your temporary secret from the android logs:\n\n```\nadb logcat | grep DebugAppCheckProvider\n```\n\nThe output should look like this:\n\n```\nD DebugAppCheckProvider: Enter this debug secret into the allow list in\nthe Firebase Console for your project: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n```\n\n1. Next, open the [App Check project](https://console.firebase.google.com/u/0/project/_/appcheck/apps) in the Firebase Console and select Manage debug tokens from the overflow menu of your app. Then, register the debug secret from the output.\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/app-check/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/app-check/LICENSE).\n\n[^1]: This project is not affiliated with, endorsed by, sponsored by, or approved by Google LLC or any of their affiliates or subsidiaries.\n","readmeFilename":"README.md"}