{"id":22390347,"url":"https://github.com/aeharding/capacitor-reader","last_synced_at":"2026-02-06T06:02:53.714Z","repository":{"id":263189314,"uuid":"889596664","full_name":"aeharding/capacitor-reader","owner":"aeharding","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-26T01:43:14.000Z","size":577,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T03:49:22.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeharding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T18:20:47.000Z","updated_at":"2025-01-26T01:43:18.000Z","dependencies_parsed_at":"2024-12-17T04:33:36.721Z","dependency_job_id":"0598619a-3139-4044-97c1-91fd106011af","html_url":"https://github.com/aeharding/capacitor-reader","commit_stats":null,"previous_names":["aeharding/capacitor-reader"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aeharding/capacitor-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fcapacitor-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fcapacitor-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fcapacitor-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fcapacitor-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeharding","download_url":"https://codeload.github.com/aeharding/capacitor-reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fcapacitor-reader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268004218,"owners_count":24179379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T03:16:14.866Z","updated_at":"2026-02-06T06:02:53.696Z","avatar_url":"https://github.com/aeharding.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capacitor-reader\n\nOpens a simplified in app browser, prioritizing readability.\n\nIf you're looking for additional functionality, this plugin is not for you. ;)\n\n## Install\n\n```bash\nnpm install capacitor-reader\nnpx cap sync\n```\n\n## API\n\n\u003cdocgen-index\u003e\n\n* [`open(...)`](#open)\n* [`addListener('browserFinished', ...)`](#addlistenerbrowserfinished-)\n* [Interfaces](#interfaces)\n\n\u003c/docgen-index\u003e\n\n\u003cdocgen-api\u003e\n\u003c!--Update the source file JSDoc comments and rerun docgen to update the docs below--\u003e\n\n### open(...)\n\n```typescript\nopen(options: CapacitorReaderOpenOptions) =\u003e Promise\u003cvoid\u003e\n```\n\niOS \u0026 Android only\n\n| Param         | Type                                                                              |\n| ------------- | --------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e\u003ca href=\"#capacitorreaderopenoptions\"\u003eCapacitorReaderOpenOptions\u003c/a\u003e\u003c/code\u003e |\n\n--------------------\n\n\n### addListener('browserFinished', ...)\n\n```typescript\naddListener(eventName: 'browserFinished', listenerFunc: () =\u003e void) =\u003e Promise\u003cPluginListenerHandle\u003e\n```\n\niOS only: Listen for the browser finished event.\nIt fires when the Browser is closed by the user.\n\nThis is necessary for those that want to track\niOS status taps (since capacitor swizzles all\niOS navigation taps)\n\n| Param              | Type                           |\n| ------------------ | ------------------------------ |\n| **`eventName`**    | \u003ccode\u003e'browserFinished'\u003c/code\u003e |\n| **`listenerFunc`** | \u003ccode\u003e() =\u0026gt; void\u003c/code\u003e     |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;\u003ca href=\"#pluginlistenerhandle\"\u003ePluginListenerHandle\u003c/a\u003e\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### Interfaces\n\n\n#### CapacitorReaderOpenOptions\n\n| Prop                          | Type                 | Description                                        | Default            |\n| ----------------------------- | -------------------- | -------------------------------------------------- | ------------------ |\n| **`url`**                     | \u003ccode\u003estring\u003c/code\u003e  |                                                    |                    |\n| **`toolbarColor`**            | \u003ccode\u003estring\u003c/code\u003e  | The color of the toolbar                           |                    |\n| **`entersReaderIfAvailable`** | \u003ccode\u003eboolean\u003c/code\u003e | Whether to enter reader mode if available iOS only | \u003ccode\u003efalse\u003c/code\u003e |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | \u003ccode\u003e() =\u0026gt; Promise\u0026lt;void\u0026gt;\u003c/code\u003e |\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeharding%2Fcapacitor-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeharding%2Fcapacitor-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeharding%2Fcapacitor-reader/lists"}