{"id":16485908,"url":"https://github.com/theglenn/flipper-android-no-op","last_synced_at":"2025-07-06T20:37:20.714Z","repository":{"id":40452686,"uuid":"174183614","full_name":"theGlenn/flipper-android-no-op","owner":"theGlenn","description":"No-op dependency for Flipper Android release mode","archived":false,"fork":false,"pushed_at":"2023-12-10T21:05:31.000Z","size":225,"stargazers_count":45,"open_issues_count":2,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T22:38:10.622Z","etag":null,"topics":["android","android-library"],"latest_commit_sha":null,"homepage":"https://fbflipper.com/docs/getting-started/android-native","language":"Kotlin","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/theGlenn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-06T16:45:46.000Z","updated_at":"2024-07-20T01:00:48.000Z","dependencies_parsed_at":"2023-12-10T20:28:30.455Z","dependency_job_id":"76ee3e4e-e86b-432c-a609-3836b7eba6a2","html_url":"https://github.com/theGlenn/flipper-android-no-op","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theGlenn%2Fflipper-android-no-op","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theGlenn%2Fflipper-android-no-op/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theGlenn%2Fflipper-android-no-op/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theGlenn%2Fflipper-android-no-op/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theGlenn","download_url":"https://codeload.github.com/theGlenn/flipper-android-no-op/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244757502,"owners_count":20505409,"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":["android","android-library"],"created_at":"2024-10-11T13:27:42.328Z","updated_at":"2025-03-21T07:31:06.755Z","avatar_url":"https://github.com/theGlenn.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flipper-android-no-op\nNo-op dependency when using Flipper Android in **release** mode.\n\n[![](https://jitpack.io/v/theGlenn/flipper-android-no-op.svg)](https://jitpack.io/#theGlenn/flipper-android-no-op)\n![GitHub](https://img.shields.io/github/license/theglenn/flipper-android-no-op.svg)\n[![Contribute](https://img.shields.io/badge/contributions-friendly-b44ac1.svg)](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)\n\n## Getting started\n\nIn your `build.gradle`:\n\n```groovy\nallprojects {\n  repositories {\n    ...\n    maven { url 'https://jitpack.io' }\n  }\n}\n...\n\ndependencies {\n    //The important part\n    def flipper_version = '0.191.1'\n    debugImplementation \"com.facebook.flipper:flipper:$flipper_version\"\n    debugImplementation \"com.facebook.flipper:flipper-network-plugin:$flipper_version\"\n    debugImplementation \"com.facebook.flipper:flipper-leakcanary2-plugin:$flipper_version\"\n    debugImplementation 'com.facebook.soloader:soloader:0.10.4'\n    \n    // debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'\n\n    // Include `flipperandroidnoop` and  `soloadernoop` individually\n    releaseImplementation 'com.github.theGlenn.flipper-android-no-op:flipperandroidnoop:0.11.4'\n    releaseImplementation 'com.github.theGlenn.flipper-android-no-op:soloadernoop:0.11.4'\n\n    // Includes both libraries\n    releaseImplementation 'com.github.theGlenn:flipper-android-no-op:0.11.4'\n}\n```\n\nIn your `Application` class same as [this](https://fbflipper.com/docs/getting-started/android-native#application-setup) :\n```java\npublic class MyApplication extends Application {\n\n  @Override public void onCreate() {\n    super.onCreate();\n    SoLoader.init(this, false);\n\n    if (BuildConfig.DEBUG \u0026\u0026 FlipperUtils.shouldEnableFlipper(this)) {\n      final FlipperClient client = AndroidFlipperClient.getInstance(this);\n      client.addPlugin(NetworkFlipperPlugin())\n      client.addPlugin(new InspectorFlipperPlugin(this, DescriptorMapping.withDefaults()));\n      client.start();\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheglenn%2Fflipper-android-no-op","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheglenn%2Fflipper-android-no-op","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheglenn%2Fflipper-android-no-op/lists"}