Clearly deprecate custom-tabs-client.

This repo has be deprecated for a while, this CL makes it clearer.

Change-Id: I785b8b92a2315bf4e8766212e3e51a3a4104cf54
Reviewed-on: https://chromium-review.googlesource.com/c/custom-tabs-client/+/2254618
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Commit-Queue: Peter Conn <peconn@chromium.org>
1 file changed
tree: fe2f138106392d2f0a877f0775aca96b1385668c
  1. .gitignore
  2. Application/
  3. CONTRIBUTING.md
  4. CREDITS
  5. LICENSE
  6. OWNERS
  7. README.md
  8. Using.md
  9. build.gradle
  10. codereview.settings
  11. customtabs/
  12. demos/
  13. gradle/
  14. gradlew
  15. gradlew.bat
  16. infra/
  17. settings.gradle
  18. shared/
README.md

Deprecated

This repository is deprecated. Please use android-browser-helper or androidx.browser instead.

You can learn more about the deprecation and which library you should use by reading Trusted Web Activities, the Lay of the Land.

Chrome Custom Tabs - Examples and Documentation

Chrome Custom Tabs provides a way for an application to customize and interact with a Chrome Activity on Android. This makes the web content feel like being a part of the application, while retaining the full functionality and performance of a complete web browser.

AndroidX

This library is based off (and contains copies of the classes from) the Android Support Library Custom Tabs package. There are known bugs when using custom-tabs-client with AndroidX or with Jetifier (the AndroidX conversion tool). For example, run-time crashes like this bug:

java.lang.IllegalAccessError:
  Method 'android.os.Bundle android.support.customtabs.CustomTabColorSchemeParams.toBundle()'
  is inaccessible to class 'androidx.browser.customtabs.CustomTabsIntent$Builder'
  (declaration of 'androidx.browser.customtabs.CustomTabsIntent$Builder' appears in XYZ.apk)

Please use the Android Browser Helper library instead. It contains the same functionality updated to work with AndroidX.

Examples

Using Custom Tabs should be easy. This repository hosts examples and in-depth documentation. The examples are importable as projects into the Android Studio.

Bugs, Issues and Discussion

We want to hear your feedback! Please create bugs and start discussions using this template. Please use the template for any issues related to the Custom Tabs APIs, their implementation in Chrome, the examples in this repository, and related functionality of the Android Support Library.

Note: we know that the GitHub issue tracker is great! However, since Custom Tabs is mostly driven by Chrome developers, and we want to keep all bugs in one place, we prefer the Chromium issue tracker at the moment.

Contributing

We accept contributions to Custom Tabs examples and documentation. Please see our contributor's guide.