New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 766960 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Documentation bug: Intent flag Intent.URI_ANDROID_APP_SCHEME is an Int incorrently used as a URI string

Reported by neorang...@gmail.com, Sep 20 2017

Issue description

URL : https://developer.chrome.com/multidevice/android/customtabs
Behavior in Firefox 55

What steps will reproduce the problem?
(1) In section "Add your app as the referrer" of document
(2) Code example shows to build a URL with Uri.parse(Intent.URI_ANDROID_APP_SCHEME + "//" + context.getPackageName())

Outcome: Intent.URI_ANDROID_APP_SCHEME is an Int flag which resolves to value "2" and the example would build a URI like "2://com.example.app"

Expected: String constant is provided to build URI correctly, like: Uri.parse("android-app://" + context.getPacakgeName())

 
Components: Infra>Documentation
Labels: OS-Android
As per the original comment considering the above issue is related to Android OS, adding appropriate labels for further triage.

Thanks!
Cc: msrchandra@chromium.org
Labels: Needs-triage-Mobile Triaged-Mobile Needs-Feedback
@neoranga55 -- Thank You for the report.
Could you please provide us the Device details, Chrome Version details and a screen cast for better understanding of the issue which would help us to triage the issue further.
Status: WontFix (was: Unconfirmed)
***Bulk Edit***

There is no valid investigation going on, hence closing. Please feel free to reopen if needed.

Sign in to add a comment