{"id":19491741,"url":"https://github.com/rudderlabs/rudder-integration-amplitude-android","last_synced_at":"2025-08-25T13:17:43.467Z","repository":{"id":43656037,"uuid":"313880641","full_name":"rudderlabs/rudder-integration-amplitude-android","owner":"rudderlabs","description":"RudderStack's native Android integration with Amplitude.","archived":false,"fork":false,"pushed_at":"2025-07-30T09:13:05.000Z","size":264,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-18T06:53:19.512Z","etag":null,"topics":["amplitude","android","rudderstack"],"latest_commit_sha":null,"homepage":"https://rudderstack.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudderlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-18T09:14:03.000Z","updated_at":"2025-07-30T09:04:40.000Z","dependencies_parsed_at":"2024-01-22T15:55:18.764Z","dependency_job_id":"1f3da3f4-88fa-4c65-9f5c-0da3af009310","html_url":"https://github.com/rudderlabs/rudder-integration-amplitude-android","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/rudderlabs/rudder-integration-amplitude-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-amplitude-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-amplitude-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-amplitude-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-amplitude-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudderlabs","download_url":"https://codeload.github.com/rudderlabs/rudder-integration-amplitude-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-integration-amplitude-android/sbom","scorecard":{"id":789108,"data":{"date":"2025-08-11","repo":{"name":"github.com/rudderlabs/rudder-integration-amplitude-android","commit":"16d31fab299c690e0425513d52481e309a1e3574"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 9/21 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":0,"reason":"dangerous workflow patterns detected","details":["Warn: script injection with untrusted input ' github.event.pull_request.head.ref ': .github/workflows/publish-new-github-release.yml:22"],"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/check_pr_title.yml:1","Warn: no topLevel permission defined: .github/workflows/draft_new_release.yml:1","Warn: no topLevel permission defined: .github/workflows/manage-github-issue-for-outdated-dependencies.yml:1","Warn: no topLevel permission defined: .github/workflows/notion_pr_sync.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-new-github-release.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/slack-notify.yml:1","Warn: no topLevel permission defined: .github/workflows/snapshot_release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check_pr_title.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/check_pr_title.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/check_pr_title.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/check_pr_title.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/draft_new_release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/draft_new_release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/draft_new_release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/draft_new_release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/manage-github-issue-for-outdated-dependencies.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/manage-github-issue-for-outdated-dependencies.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/manage-github-issue-for-outdated-dependencies.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/manage-github-issue-for-outdated-dependencies.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/manage-github-issue-for-outdated-dependencies.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/manage-github-issue-for-outdated-dependencies.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-new-github-release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/publish-new-github-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-new-github-release.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/publish-new-github-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-new-github-release.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/publish-new-github-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/slack-notify.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/slack-notify.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot_release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/snapshot_release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot_release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/snapshot_release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot_release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/rudderlabs/rudder-integration-amplitude-android/snapshot_release.yml/master?enable=pin","Info:   0 out of  16 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   7 third-party GitHubAction dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Info: codeowner review is required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":1,"reason":"SAST tool is not run on all commits -- score normalized to 1","details":["Warn: 3 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T06:57:12.090Z","repository_id":43656037,"created_at":"2025-08-23T06:57:12.090Z","updated_at":"2025-08-23T06:57:12.090Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272072366,"owners_count":24868432,"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-08-25T02:00:12.092Z","response_time":1107,"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":["amplitude","android","rudderstack"],"created_at":"2024-11-10T21:18:00.368Z","updated_at":"2025-08-25T13:17:43.441Z","avatar_url":"https://github.com/rudderlabs.png","language":"Java","readme":"# What is RudderStack?\n\n[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.\n\nMore information on RudderStack can be found [here](https://github.com/rudderlabs/rudder-server).\n\n## Integrating Amplitude with RudderStack's Android SDK\n\n1. Add [Amplitude](https://amplitude.com) as a destination in the [RudderStack dashboard](https://app.rudderstack.com/) and define `apiKey` and all other applicable settings .\n\n2. Add the dependency under ```dependencies```\n\n```\nimplementation 'com.rudderstack.android.sdk:core:1.+'\nimplementation 'com.rudderstack.android.integration:amplitude:1.0.1'\nimplementation 'com.google.code.gson:gson:2.8.6'\n\n// Amplitude\nimplementation 'com.amplitude:android-sdk:2.25.2'\nimplementation 'com.squareup.okhttp3:okhttp:4.2.2'\n\n// For using Google Advertising Id as device id\nimplementation 'com.google.android.gms:play-services-ads:18.3.0'\n\n```\n\n3. Add these lines to your ```app/build.gradle``` under ```compileOptions``` in the ```android``` tag:\n\n```\ncompileOptions {\n  sourceCompatibility JavaVersion.VERSION_1_8\n  targetCompatibility JavaVersion.VERSION_1_8\n}\n```\n\n## Initialize ```RudderClient```\n\n```\nval rudderClient = RudderClient.getInstance(\n    this,\n    WRITE_KEY,\n    RudderConfig.Builder()\n        .withDataPlaneUrl(DATA_PLANE_URL)\n        .withFactory(AmplitudeIntegrationFactory.FACTORY)\n        .build()\n)\n```\nand if you would like to send Google Advertising Id of the device as device id to the Amplitude then add the below code in the `AndroidManifest.xml` of your app under `\u003capplication\u003e` tag:\n```\n\u003cmeta-data\n    android:name=\"com.google.android.gms.ads.AD_MANAGER_APP\"\n    android:value=\"true\" /\u003e\n```\n\n## Send Events\n\nFollow the steps from [RudderStack Android SDK](https://github.com/rudderlabs/rudder-sdk-android).\n\n## Contact Us\n\nIf you come across any issues while configuring or using this integration, feel free to start a conversation on our [Slack](https://resources.rudderstack.com/join-rudderstack-slack) channel. We will be happy to help you.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-integration-amplitude-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudderlabs%2Frudder-integration-amplitude-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-integration-amplitude-android/lists"}