Documentation bug in Chrome Custom Tabs
Reported by
clh...@gmail.com,
Jan 3 2017
|
||||
Issue descriptionOn the page: https://developer.chrome.com/multidevice/android/customtabs The section about "Add your app as the referrer" has code for adding a referrer URI. But by using the code, the URI becomes "2://com.example.app" as the const Intent.URI_ANDROID_APP_SCHEME is an integer flag that is designed to be used by Intent.parseUri and not as a string. So the code example should be changed to: intent.putExtra(Intent.EXTRA_REFERRER, Uri.parse("android-app://" + context.getPackageName()));
,
Jan 5 2017
,
Jan 5 2017
,
Jan 5 2017
,
Feb 1 2018
I have a Pull Request for this ready here: https://github.com/GoogleChrome/multi-device/pull/44 |
||||
►
Sign in to add a comment |
||||
Comment 1 by ajha@chromium.org
, Jan 4 2017