Closed
Bug 1355513
Opened 8 years ago
Closed 8 years ago
Allow access to microphone and camera permissions not displayed in web apps
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)
Tracking
(fennec-, firefox55 affected)
RESOLVED
DUPLICATE
of bug 1360658
People
(Reporter: ohorvath, Assigned: cnevinchen)
References
Details
Device: Motorola Nexus 6 (Android 7.0) & LG G4 (Android 5.1)
Build: Nightly 55.0a1 (2017-04-11);
Prerequisite: create the "manifest.install.enabled" pref in about:config and switch it to true, to install web apps.
Steps to reproduce:
1. Go to device settings and turn off the microphone permission.
2. Visit: https://guitar-tuner.appspot.com (or https://voice-memos.appspot.com) and add it to the home screen.
3. Open the web app and verify if the "Allow Nightly to record audio" pop-up is displayed.
4. Clear browser settings. Turn on the access to the microphone from the device's settings.
6. Open the web app and tap the record button.
7. Verify if the microphone access permission doorhanger is displayed.
Expected result:
The microphone access pop-up and doorhanger should be displayed.
Actual result:
Allow access to audio pop-up not displayed, when the microphone permission is off.
Allow access to microphone doorhanger not displayed, when the microphone permission is on.
| Assignee | ||
Comment 1•8 years ago
|
||
I guess this only happens when there already a Fennec full browser app or other WebAppActivity instances(10?) running.
Cause GeckoAppinterface.getInstance().getActivity() may be taken.
P
The side effect or assumption when I work on https://bugzilla.mozilla.org/show_bug.cgi?id=1337692 is wrong. Since there'll be multiple activities at the same time now.
| Reporter | ||
Comment 2•8 years ago
|
||
Hi Nevin, they don't appear when the main browser activity or other webapps are closed either.
| Assignee | ||
Updated•8 years ago
|
tracking-fennec: --- → ?
Comment 3•8 years ago
|
||
Definitely a P1.
We don't need tracking flag for now as it is P1 blocking the standalone mode meta bug.
tracking-fennec: ? → -
Priority: -- → P1
| Reporter | ||
Comment 4•8 years ago
|
||
Need to add here that the Camera access permission doorhanger also isn't displayed on: https://soyguijarro.github.io/magic-web/ web app. It is displayed in the browser. I've modified the summary to reflect this also.
STR:
1. Turn off camera permissions from the device settings.
2. Visit https://soyguijarro.github.io/magic-web/. A pop-up is displayed to allow access to camera.
3. Allow access. Wait for the camera permission doorhanger.
Actual result: The doorhanger isn't displayed in the web app as it does in the browser.
Summary: Allow access to microphone permissions not displayed in web apps → Allow access to microphone and camera permissions not displayed in web apps
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → cnevinchen
Comment 5•8 years ago
|
||
This also looks fixed with the new message handlers, working on both those examples
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•