Customize UI using values from custom tab VIEW intent

RESOLVED FIXED

Status

()

Firefox for Android
General
RESOLVED FIXED
2 years ago
2 months ago

People

(Reporter: friedger, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
Unspecified
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Firefox for Android

Steps to reproduce:

Launch Firefox with a view intent with extra "android.support.customtabs.extra.TOOLBAR_COLOR" as described in
https://developer.chrome.com/multidevice/android/customtabs#configure-the color of the address bar




Actual results:

The given url opened, the address bar showed the usual design


Expected results:

The given url should open and the given color in the extra should be applied to the address bar
(Reporter)

Updated

2 years ago
Component: General → Tabbed Browser
OS: Unspecified → Android
Version: 44 Branch → Trunk
(Reporter)

Updated

2 years ago
Component: Tabbed Browser → General
Product: Firefox → Firefox for Android
(Reporter)

Updated

2 years ago
"Custom tabs" are not supported yet. But we are tracking work for it in meta bug 1208655. I didn't find a bug for the UI customization work so I'll just mark this one as blocking the meta bug.
Blocks: 1208655
I think this is tracked as part of light weight themes, but I don't know the ticket number.  mcomella might.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 1079416
Blocks: 1279278
Rewording: There's now much more than just the color in those intents.

This is a sample project implementing some of that:
https://github.com/GoogleChrome/custom-tabs-provider/
Summary: Use custom tabs toolbar color of VIEW intent if present → Customize UI using values from custom tab VIEW intent
For toolbar color, the work for bug 1098544 might be useful.
See Also: → bug 1098544
(Reporter)

Comment 5

10 months ago
Toolbar color has been added in https://bugzilla.mozilla.org/show_bug.cgi?id=1279278

Menu items are handled in https://bugzilla.mozilla.org/show_bug.cgi?id=1315937
I think this is basically done per comment #5
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.