{"id":13795060,"url":"https://github.com/capacitor-community/flipper","last_synced_at":"2025-04-22T16:32:11.253Z","repository":{"id":38284605,"uuid":"274010557","full_name":"capacitor-community/flipper","owner":"capacitor-community","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-15T17:39:33.000Z","size":503,"stargazers_count":11,"open_issues_count":11,"forks_count":7,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-05T03:19:57.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capacitor-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2020-06-22T01:11:47.000Z","updated_at":"2024-09-26T14:37:53.000Z","dependencies_parsed_at":"2023-02-09T23:00:35.704Z","dependency_job_id":null,"html_url":"https://github.com/capacitor-community/flipper","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":"capacitor-community/.github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capacitor-community%2Fflipper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capacitor-community%2Fflipper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capacitor-community%2Fflipper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capacitor-community%2Fflipper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capacitor-community","download_url":"https://codeload.github.com/capacitor-community/flipper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250277262,"owners_count":21404021,"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":[],"created_at":"2024-08-03T23:00:51.737Z","updated_at":"2025-04-22T16:32:10.978Z","avatar_url":"https://github.com/capacitor-community.png","language":"Java","funding_links":[],"categories":["Plugins","Community plugins"],"sub_categories":["Community Plugins"],"readme":"# Capacitor Flipper Plugin\n\nCapacitory community plugin for [Flipper](https://fbflipper.com/).\n\n## Maintainers\n\n| Maintainer    | GitHub                                      | Social                                           | Sponsoring Company |\n| ------------- | ------------------------------------------- | ------------------------------------------------ | ------------------ |\n| Priyank Patel | [priyankpat](https://github.com/priyankpat) | [@priyankpat\\_](https://twitter.com/priyankpat_) | Ionic              |\n\nMainteinance Status: Actively Maintained\n\n# Requirement\n\nDownload [Flipper](https://fbflipper.com/), available for Linux/Windows/Mac or run `brew cask install flipper` on Mac\n\n## Installation\n\nTo use npm\n\n```bash\nnpm install @capacitor/flipper\n```\n\nTo use yarn\n\n```bash\nyarn add @capacitor/flipper\n```\n\nSync native files\n\n```bash\nnpx cap sync\n```\n\nOn iOS, no further steps are needed.\n\nOn Android, register the plugin in your main activity:\n\n```java\nimport com.getcapacitor.community.flipper.Flipper;\n\npublic class MainActivity extends BridgeActivity {\n\n  @Override\n  public void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n\n    // Initializes the Bridge\n    this.init(\n        savedInstanceState,\n        new ArrayList\u003cClass\u003c? extends Plugin\u003e\u003e() {\n\n          {\n            // Additional plugins you've installed go here\n            // Ex: add(TotallyAwesomePlugin.class);\n            add(Flipper.class);\n          }\n        }\n      );\n  }\n}\n```\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Supported methods\n\n| Name         | Android | iOS | Web |\n| :----------- | :------ | :-- | :-- |\n| initialize   | ✅      | ✅  | ❌  |\n| emulateCrash | ✅      | ❌  | ❌  |\n\n## Example\n\n### [Click here](https://github.com/priyankpat/capacitor-plugins-example/tree/flipper) for example code\n\n```bash\ngit clone https://github.com/capacitor-community/flipper.git\ngit checkout flipper\n```\n\n## Usage\n\n```typescript\nimport { Plugins } from \"@capacitor/core\";\n\nconst { Flipper } = Plugins;\n\n/**\n * This method will configure and initialize the flipper package.\n * @param enabled - boolean true/false to enable/disable flipper\n *        network - boolean true/false to enable network plugin\n *        crash_report - boolean true/false to enable crash reporting\n *        layout_inspector - boolean true/false to enable layout inspector\n *        database - boolean true/false to enable database plugin (sqlite)\n *        database_path - custom database path if database is not stored in application context (Android)\n * @returns void\n * Make sure you have flipper running in background or restart the app for plugins to communicate with flipper\n */\nFlipper.initialize({\n  enabled: true,\n  network: true,\n  crash_report: true,\n  layout_inspector: true,\n  database: true,\n});\n\n/**\n * This method will trigger a custom crash notification.\n * @param none\n * @returns void\n */\nFlipper.emulateCrash({\n  message: \"Forced Crash\",\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapacitor-community%2Fflipper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapacitor-community%2Fflipper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapacitor-community%2Fflipper/lists"}