{"id":21762101,"url":"https://github.com/segment-integrations/analytics-android-integration-firebase","last_synced_at":"2025-07-26T13:03:38.281Z","repository":{"id":24289354,"uuid":"101116331","full_name":"segment-integrations/analytics-android-integration-firebase","owner":"segment-integrations","description":"The Firebase Analytics analytics-android integration.","archived":false,"fork":false,"pushed_at":"2022-06-13T20:20:27.000Z","size":134,"stargazers_count":13,"open_issues_count":8,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T13:38:00.684Z","etag":null,"topics":["android"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/segment-integrations.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-22T23:25:58.000Z","updated_at":"2024-11-29T21:40:04.000Z","dependencies_parsed_at":"2022-09-16T10:41:46.620Z","dependency_job_id":null,"html_url":"https://github.com/segment-integrations/analytics-android-integration-firebase","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/segment-integrations/analytics-android-integration-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segment-integrations","download_url":"https://codeload.github.com/segment-integrations/analytics-android-integration-firebase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-android-integration-firebase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267170977,"owners_count":24046877,"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-26T02:00:08.937Z","response_time":62,"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":["android"],"created_at":"2024-11-26T12:10:55.766Z","updated_at":"2025-07-26T13:03:38.162Z","avatar_url":"https://github.com/segment-integrations.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"analytics-android-integration-firebase\n=======================================\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.integrations/firebase/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.integrations/firebase)\n[![Javadocs](http://javadoc-badge.appspot.com/com.segment.analytics.android.integrations/firebase.svg?label=javadoc)](http://javadoc-badge.appspot.com/com.segment.analytics.android.integrations/firebase)\n\nFirebase Analytics integration for [analytics-android](https://github.com/segmentio/analytics-android).\n\n## Installation\n\nTo install the Segment-Firebase integration, simply add this line to your gradle file:\n\n```\nimplementation 'com.segment.analytics.android.integrations:firebase:+@aar'\n```\n\n**Note:** The Firebase SDK requires Android resources. To avoid issues with app crashes please implement using the `aar` package. \n\n### Note\nTo use firebase-integrations 1.4.+ :\n* `Update your app to use (AndroidX) or Android 29`\n* `Upgrade com.android.tools.build:gradle to v3.2.1 or later`\n\nFor Android 28 or Lower: [here](https://search.maven.org/artifact/com.segment.analytics.android.integrations/firebase/1.2.0/aar)\n\nDon't forget to add the following dependencies to make sure [Firebase works](https://firebase.google.com/docs/android/setup/):\n```\napply plugin: 'com.android.application'\n\nandroid {\n  // ...\n}\n\n// Add the following line to the bottom of the file:\napply plugin: 'com.google.gms.google-services'  // Google Play services Gradle plugin\n```\n\n## Usage\n\nAfter adding the dependency, you must register the integration with our SDK.  To do this, import the Firebase integration:\n\n\n```\nimport com.segment.analytics.android.integrations.firebase.FirebaseIntegration;\n\n```\n\nAnd add the following line:\n\n```\nanalytics = new Analytics.Builder(this, \"write_key\")\n                .use(FirebaseIntegration.FACTORY)\n                .build();\n```\n\nPlease see [our documentation](https://segment.com/docs/integrations/firebase-analytics/) for more information.\n\n\n## License\n\n```\nWWWWWW||WWWWWW\n W W W||W W W\n      ||\n    ( OO )__________\n     /  |           \\\n    /o o|    MIT     \\\n    \\___/||_||__||_|| *\n         || ||  || ||\n        _||_|| _||_||\n       (__|__|(__|__|\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Segment, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-android-integration-firebase/lists"}