{"id":30048403,"url":"https://github.com/segmentio/analytics-android-mcvid","last_synced_at":"2026-01-20T16:22:23.966Z","repository":{"id":55881911,"uuid":"180635912","full_name":"segmentio/analytics-android-mcvid","owner":"segmentio","description":"An Android middleware to inject Adobe Marketing Cloud Visitor IDs","archived":false,"fork":false,"pushed_at":"2023-04-07T11:45:01.000Z","size":171,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-19T17:05:13.093Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/segmentio.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-04-10T17:59:22.000Z","updated_at":"2023-01-05T22:51:32.000Z","dependencies_parsed_at":"2025-10-12T14:09:03.590Z","dependency_job_id":"b1b418df-bb9c-406f-9203-d8df50154d56","html_url":"https://github.com/segmentio/analytics-android-mcvid","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/segmentio/analytics-android-mcvid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics-android-mcvid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics-android-mcvid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics-android-mcvid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics-android-mcvid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/analytics-android-mcvid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics-android-mcvid/sbom","scorecard":{"id":809854,"data":{"date":"2025-08-11","repo":{"name":"github.com/segmentio/analytics-android-mcvid","commit":"3a61ae24a0d09dae903c409cfd26990d388de8ee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"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":"Code-Review","score":1,"reason":"Found 2/15 approved changesets -- score normalized to 1","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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: 'allow deletion' enabled on branch 'master'","Warn: 'force pushes' enabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Info: 'stale review dismissal' is required to merge 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: 'up-to-date branches' is disabled on branch 'master'","Info: status check found to merge onto on 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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 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-23T12:49:24.587Z","repository_id":55881911,"created_at":"2025-08-23T12:49:24.587Z","updated_at":"2025-08-23T12:49:24.587Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-08-07T10:11:26.875Z","updated_at":"2026-01-20T16:22:23.949Z","avatar_url":"https://github.com/segmentio.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"analytics-android-mcvid\n=======================================\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.middlewares/mcvid/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.segment.analytics.android.middlewares/mcvid)\n[![Javadocs](http://javadoc-badge.appspot.com/com.segment.analytics.android.middlewares/mcvid.svg?label=javadoc)](http://javadoc-badge.appspot.com/com.segment.analytics.android.middlewares/mcvid)\n\nA middleware to inject Adobe Marketing Cloud Visitor IDs to your events.\n\n## Installation\n\nTo install the middleware, simply add this line to your gradle file:\n\n```\ncompile 'com.segment.analytics.android.middlewares.mcvid:+'\n```\n\n## Permissions\n\nThe middleware performs HTTP requests in an executor, so it requires internet access:\n```\n\u003cuses-permission android:name=\"android.permission.INTERNET\"/\u003e\n```\nSyncing the Visitor ID with the device's advertising ID requires access to Google Play Services.\n\n## Testing\n\nYou will need to provide some parameters to make the tests work end to end:\n```\nexport TEST_ADOBE_ORGANIZATION_ID=\"myTestOrganizationId\";\nexport TEST_ADOBE_REGION=\"3\";\nexport TEST_ADOBE_CUSTOMER_ID=\"myTestCustomerId\"\n```\n\nThen use gradle to run the tests:\n```\n$ ./gradlew test\n```\n\nIf you are using Android Studio, you will need to pass that configuration as part of the JVM arguments. In the Run... dialog, add\nas VM options\n```\n-Dtest.adobe.organization_id=myTestOrganizationId -Dtest.adobe.region=3 -Dtest.adobe.customer_id=DSID_20914%01myTestCustomerId\n```\n\n## Usage\n\nAfter adding the dependency, you must register the middleware with our SDK.  To do this, import the package:\n\n\n```\nimport com.segment.analytics.android.middlewares.mcvid.MarketingCloudMiddleware;\n\n```\n\nAnd add the following line:\n\n```\nanalytics = new Analytics.Builder(this, \"write_key\")\n                ...\n                .middleware(new MarketingCloudMiddleware(this.getApplicationContext(), \"my organization ID\", region))\n                .build();\n```\n\nYou can also customize the implementation for the Visitor ID client or store using the builder.\n```\nMarketingCloudMiddleware mcvid = new MarketingCloudMiddleware.Builder().withClient(client).withStore(store).withActivity(this).build();\nanalytics = new Analytics.Builder(this, \"write_key\")\n                ...\n                .middleware(mcvid)\n                .build();\n\n// If you need to sync any other ID, you can use the middleware's client directly.\nmcvid.getClient().idSync(mcvid.getVisitorId(), \"MYAPP\", \"customerId\");\n```\n\n\nPlease see [our documentation](https://segment.com/docs/sources/mobile/android/) for more information.\n\n## Other documentation\n\n* [Marketing Cloud Service](https://marketing.adobe.com/resources/help/en_US/mcvid/)\n* [Direct integration with Cloud ID Service](https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid-direct-integration.html)\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) 2019 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%2Fsegmentio%2Fanalytics-android-mcvid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Fanalytics-android-mcvid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fanalytics-android-mcvid/lists"}