{"id":13724721,"url":"https://github.com/GoogleChrome/android-browser-helper","last_synced_at":"2025-05-07T19:30:35.378Z","repository":{"id":39223343,"uuid":"201427469","full_name":"GoogleChrome/android-browser-helper","owner":"GoogleChrome","description":"The Android Browser Helper library helps developers use Custom Tabs and Trusted Web Activities on top of the AndroidX browser support library.","archived":false,"fork":false,"pushed_at":"2025-05-05T13:31:36.000Z","size":2012,"stargazers_count":736,"open_issues_count":119,"forks_count":302,"subscribers_count":61,"default_branch":"main","last_synced_at":"2025-05-05T13:52:20.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleChrome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-09T08:38:25.000Z","updated_at":"2025-05-04T05:52:29.000Z","dependencies_parsed_at":"2023-01-29T13:15:17.841Z","dependency_job_id":"5dfe4fec-bb88-4510-95e0-265e13e6d58b","html_url":"https://github.com/GoogleChrome/android-browser-helper","commit_stats":{"total_commits":391,"total_committers":28,"mean_commits":"13.964285714285714","dds":0.710997442455243,"last_synced_commit":"653bfd2ff6836f4010ca966922aa10c38df9d020"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChrome%2Fandroid-browser-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChrome%2Fandroid-browser-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChrome%2Fandroid-browser-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChrome%2Fandroid-browser-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleChrome","download_url":"https://codeload.github.com/GoogleChrome/android-browser-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252943577,"owners_count":21829270,"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-03T01:02:02.373Z","updated_at":"2025-05-07T19:30:35.365Z","avatar_url":"https://github.com/GoogleChrome.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# Android Browser Helper\n\n![CI Status Badge](https://github.com/GoogleChrome/android-browser-helper/actions/workflows/android.yml/badge.svg?branch=main)\n\nThe Android Browser Helper library helps developers use Custom Tabs and Trusted\nWeb Activities on top of the AndroidX browser support library.\nIt contains default implementations of many of the common tasks a\ndeveloper will find themselves requiring, for example:\n\n* Creating a Launcher Activity that simply launches a Trusted Web Activity.\n* Code for choosing an appropriate Custom Tabs provider.\n* Creating an Activity to launch the browser's site settings for a TWA.\n\n## Adding Android Browser Helper to an Android project\n\nAndroid Browser helper is available on the Google Maven. To use it, modify your application's\n`build.gradle` and add the library as a dependency, as described below:\n\n```gradle\ndependencies {\n    //...\n    implementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.4.0'\n}\n\n``` \n\n## Information for Google Play's data disclosure requirements\n\nThe Android Browser Helper library is intended to allow Android applications to interact with\nbrowsers on the device. As such, it will share certain types of information with the browser.\n\n### Data types collected / shared\n\n**Web browsing:** URLs handled by the application are shared with the browser when a Custom Tab\nor a Trusted Web Activity are launched.\n\nURLs are also shared with the browser by certain features like mayLaunchUrl(), so that the\nbrowser can speed up loading performance of those pages.\n\nWhen the WebView fallback feature  is enabled by the developer, the application may store the\nnavigation history and browser storage, like cookies on the device.\n\n**User location (Optional):** The SDK may share location data with the host browser, when the\nlocation delegation library is used. Users can control sharing of the location using the\nAndroid permission dialogs and the System settings. \n\n**Purchase History (Optional):** The SDK may share purchase history data with the host browser\nwhen the Google Play billing library is used. Only purchases made within the application are\nshared.\n\nThis SDK does not transfer any information over the network. Web browsing information may be\nstored if the WebView fallback is enabled. The permission to read the location can be managed\nvia the usual Android settings.\n  \n## Source Code Headers\n\nEvery file containing source code must include copyright and license\ninformation. This includes any JS/CSS files that you might be serving out to\nbrowsers. (This is to help well-intentioned people avoid accidental copying that\ndoesn't comply with the license.)\n\nApache header:\n\n    Copyright 2019 Google LLC\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        https://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleChrome%2Fandroid-browser-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoogleChrome%2Fandroid-browser-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleChrome%2Fandroid-browser-helper/lists"}