{"id":13795510,"url":"https://github.com/Cap-go/capacitor-screen-recorder","last_synced_at":"2025-05-12T23:32:21.946Z","repository":{"id":49325457,"uuid":"427230607","full_name":"Cap-go/capacitor-screen-recorder","owner":"Cap-go","description":"Record the screen of the phone with native API","archived":false,"fork":false,"pushed_at":"2025-04-28T05:14:16.000Z","size":1143,"stargazers_count":12,"open_issues_count":8,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-05T08:21:20.747Z","etag":null,"topics":["capacitor","capacitor-plugin","ionic"],"latest_commit_sha":null,"homepage":"https://capgo.app","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/Cap-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"Cap-go","patreon":null,"open_collective":"capgo","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-11-12T04:22:12.000Z","updated_at":"2025-05-01T21:04:53.000Z","dependencies_parsed_at":"2022-09-02T22:00:32.975Z","dependency_job_id":"d9c85e59-651b-4e32-b9e6-510508f20a0d","html_url":"https://github.com/Cap-go/capacitor-screen-recorder","commit_stats":{"total_commits":360,"total_committers":4,"mean_commits":90.0,"dds":0.5416666666666667,"last_synced_commit":"3316897802a9a7665b36dc6dda845199e2831262"},"previous_names":["riderx/capacitor-screen-recorder"],"tags_count":182,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-screen-recorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-screen-recorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-screen-recorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-screen-recorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cap-go","download_url":"https://codeload.github.com/Cap-go/capacitor-screen-recorder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253347034,"owners_count":21894279,"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","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":["capacitor","capacitor-plugin","ionic"],"created_at":"2024-08-03T23:00:58.114Z","updated_at":"2025-05-12T23:32:21.935Z","avatar_url":"https://github.com/Cap-go.png","language":"Swift","funding_links":["https://github.com/sponsors/Cap-go","https://opencollective.com/capgo"],"categories":["[Capgo plugins](https://capgo.app/)","Plugins","Capgo Capacitor Plugins"],"sub_categories":["Camera \u0026 Media","Community Plugins"],"readme":"# Capacitor-screen-recorder\n \u003ca href=\"https://capgo.app/\"\u003e\u003cimg src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch2\u003e\u003ca href=\"https://capgo.app/?ref=plugin\"\u003e ➡️ Get Instant updates for your App with Capgo 🚀\u003c/a\u003e\u003c/h2\u003e\n  \u003ch2\u003e\u003ca href=\"https://capgo.app/consulting/?ref=plugin\"\u003e Fix your annoying bug now, Hire a Capacitor expert 💪\u003c/a\u003e\u003c/h2\u003e\n\u003c/div\u003e\nRecord device's screen\n\n## Install\n\n```bash\nnpm install @capgo/capacitor-screen-recorder\nnpx cap sync\n```\n\n## IOS\n\nadd NSPhotoLibraryUsageDescription in your info.plist\n\n## Android\nincrease project's minSdk version to 23, it's required by the dependency HBRecorder\n\nAdd these permissions in your `AndroidManifest.xml`:\n```xml\n\u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.WRITE_INTERNAL_STORAGE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.RECORD_AUDIO\" /\u003e\n\u003cuses-permission android:name=\"android.permission.FOREGROUND_SERVICE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION\" /\u003e\n```\n\n### Add JitPack Repository\nAdd JitPack repository to your Android app's build.gradle (android/app/build.gradle):\n\n```gradle\nallprojects {\n    repositories {\n        google()\n        mavenCentral()\n        maven { url 'https://jitpack.io/' }\n    }\n}\n```\n\n### Variables\n\nThis plugin will use the following project variables (defined in your app's `variables.gradle` file):\n- `$kotlinVersion` version of `org.jetbrains.kotlin:kotlin-stdlib-jdk7` (default: `1.7.21`)\n\nIf you have compilation issue `Duplicate class androidx.lifecycle.ViewModelLazy`\ni found in this the solution who worked for me:\nhttps://stackoverflow.com/questions/73406969/duplicate-class-androidx-lifecycle-viewmodellazy-found-in-modules-lifecycle-view\n\nAdd this\n```\nconfigurations {\n    all {\n        exclude group: 'androidx.lifecycle', module: 'lifecycle-runtime-ktx'\n        exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'\n    }\n}\nan\n```\nline 2 in file `android/app/build.gradle`\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## API\n\n\u003cdocgen-index\u003e\n\n* [`start(...)`](#start)\n* [`stop()`](#stop)\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### start(...)\n\n```typescript\nstart(options?: { recordAudio?: boolean | undefined; } | undefined) =\u003e Promise\u003cvoid\u003e\n```\n\nstart the recording\n\n| Param         | Type                                    | Description       |\n| ------------- | --------------------------------------- | ----------------- |\n| **`options`** | \u003ccode\u003e{ recordAudio?: boolean; }\u003c/code\u003e | Recording options |\n\n--------------------\n\n\n### stop()\n\n```typescript\nstop() =\u003e Promise\u003cvoid\u003e\n```\n\nstop the recording\n\n--------------------\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCap-go%2Fcapacitor-screen-recorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCap-go%2Fcapacitor-screen-recorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCap-go%2Fcapacitor-screen-recorder/lists"}