Closed Bug 1948761 Opened 7 months ago Closed 2 months ago

[composable toolbar] Configure the QR scan button

Categories

(Firefox for Android :: Toolbar, task, P3)

All
Android
task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: petru, Assigned: harrisono)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][composable toolbar])

Attachments

(5 files)

Similar to the current functionality we should add a button to allow entering scanning a link to access when in edit mode.

Since the QR scanning functionality is outside of the toolbar composable we should use the AppStore to put the application in the "need QR scanning" mode and then have the toolbar middleware consume the identified url from AppState

As a new development, this button should not be shown for Android automotive, see bug 1964497.

Blocks: ct-fenix-configuration
No longer blocks: 1948591
See Also: → 1964497
Blocks: 1969335
Assignee: nobody → hoglesby
Status: NEW → ASSIGNED
Attachment #9496610 - Attachment description: Bug 1948761 - Add QrScanner actions, state and binding → Bug 1948761 - Part 1: Add QrScanner actions, state and binding
Depends on: 1974943
Attachment #9497086 - Attachment description: Bug 1948761 - Part 2: Add permission flow to QrScannerDelegate → Bug 1948761 - Part 2: Add camera permission flow to QrScannerDelegate and HomeActivity for QR scanner in toolbar

This is very similar to the BackHandler from Jetpack Compose but will work with any Views.

Attachment #9500986 - Attachment description: WIP: Bug 1948761 - Add a View.handleBackEvents method to allow more easily intercept back buttons/gestures → Bug 1948761 - Add a View.handleBackEvents method to allow more easily intercept back buttons/gestures r=#android-reviewers
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/72e70bf40a50 https://hg.mozilla.org/integration/autoland/rev/8ba3d2ccb4ef Add a View.handleBackEvents method to allow more easily intercept back buttons/gestures r=android-reviewers,harrisono
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Attachment #9496610 - Attachment description: Bug 1948761 - Part 1: Add QrScanner actions, state and binding → Bug 1948761 - Part 1: Add QrScanner actions, state and binding r=#android-reviewers
Attachment #9497086 - Attachment description: Bug 1948761 - Part 2: Add camera permission flow to QrScannerDelegate and HomeActivity for QR scanner in toolbar → Bug 1948761 - Part 2: Add camera permission flow to QrScannerDelegate and HomeActivity for QR scanner in toolbar r=#android-reviewers
Attachment #9497392 - Attachment description: Bug 1948761 - Part 3: Add open other app intents to QrScannerDelegate → Bug 1948761 - Part 3: Add open other app intents to QrScannerDelegate r=#android-reviewers
Attachment #9499631 - Attachment description: Bug 1948761 - Part 4: fix QrFragment back handling for API 33+ → Bug 1948761 - Part 4: fix QrFragment back handling for API 33+ r=#android-reviewers
Attachment #9499631 - Attachment description: Bug 1948761 - Part 4: fix QrFragment back handling for API 33+ r=#android-reviewers → Bug 1948761 - Part 4: fix QrFragment back handling for API 33+
Pushed by hoglesby@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/dfe20089558f https://hg.mozilla.org/integration/autoland/rev/5881d1b71ac1 Part 1: Add QrScanner actions, state and binding r=android-reviewers,petru https://github.com/mozilla-firefox/firefox/commit/0f7a739bea5b https://hg.mozilla.org/integration/autoland/rev/5dde9bb11536 Part 2: Add camera permission flow to QrScannerDelegate and HomeActivity for QR scanner in toolbar r=android-reviewers,petru https://github.com/mozilla-firefox/firefox/commit/76ed8db8706d https://hg.mozilla.org/integration/autoland/rev/136ad9652457 Part 3: Add open other app intents to QrScannerDelegate r=android-reviewers,petru https://github.com/mozilla-firefox/firefox/commit/bca9e9d5fd7a https://hg.mozilla.org/integration/autoland/rev/f418c31e37f6 Part 4: fix QrFragment back handling for API 33+ r=android-reviewers,petru
See Also: → 1981453
See Also: → 1981456
See Also: → 1981457
See Also: 1981453
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: