Closed
Bug 1150842
Opened 10 years ago
Closed 10 years ago
[FFOS2.0][Woodduck][SCB]CBC notification with pop up and tone alert + vibrate in CHILE
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1154577
People
(Reporter: sync-1, Unassigned)
References
Details
Attachments
(8 files)
(deleted),
application/zip
|
Details | |
(deleted),
image/x-png
|
Details | |
(deleted),
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
Details | |
(deleted),
application/octet-stream
|
Details | |
(deleted),
application/zip
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/x-png
|
Details | |
(deleted),
application/zip
|
Details |
Dear Mozilla,
We have a new CBC requirements from the Chilean government,
One of the problem we have to deal with is Vibrate;
When the emergency CB message is coming, the phone have to vibrate with the sound notification;
we use the API:
window.setInterval(function repeat() {
navigator.vibrate([920]);
}, 1500);
when the screen light off, vibrate is inactive
when the screen light on, vibrate is active
We need to keep the phone vibrating no matter the the screen light on or off
Could you please help to solve this issue ?
thank you !
+++ This bug was initially created as a clone of Bug #312915 +++
+++ This bug was initially created as a clone of Bug #312913 +++
Created an attachment (id=234697)
Latest Requirements
PROBLEM DESCRIPTION:According the latest CBC requirements from the Chilean government the phones must comply the following reqs:
1. Pop up containing displaying the whole SMSCB content.
2. Up to 90 characters at least
3. Title “Alerta de Emergencia” with time and date on the header of the popup
4. Automatic storage of all SMSCB messages, saving at least the last 10
5. Sound notification different from any other notification. It MUST loop until interrupted by the user. User should not be able to disable the sound notification from profiles or any other menu. Tone is defined by ATIS/TIA J-STD 100, point 7.1
6. Always vibrate with the sound notification. If the current profile is silent it should ALWAYS vibrate. Vibration pattern is defined by ATIS/TIA J-SDT 100, point 7.2
7. Screen must light up as soon as the SMSCB is received and it should turn off 10 seconds later if no user interaction is performed. If the user presses any key the screen will light up again. This does not interfere with point 5 or 6, and sound/vibration should only stop when user disregards the popup message
8. Default SMSCB channels 919 and 921 must be enabled and should not be customizable or editable in any way by the end user
EXPECTED BEHAVIOUR:
The phone must comply the requirements detailed above.
STEPS TO REPRODUCE:
++++++++++ end of initial bug #312913 description ++++++++++
++++++++++ end of initial bug #312915 description ++++++++++
DEFECT DESCRIPTION:
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Comment 9•10 years ago
|
||
Hi Mozilla,
What is the latest status about this issue ?
Thank you !
Comment 10•10 years ago
|
||
This issue is belong to [FFOS2.0][Woodduck]
Updated•10 years ago
|
Summary: CBC notification with pop up and tone alert + vibrate in CHILE → [FFOS2.0][Woodduck][SCB]CBC notification with pop up and tone alert + vibrate in CHILE
Comment 11•10 years ago
|
||
Hi Gary,
Could you provide some suggestion about:
"How to keep the phone vibrating no matter the the screen light on or off?"
Thanks!
Flags: needinfo?(gchen)
Comment 12•10 years ago
|
||
Hi all,
In this scenario, I'd suggest keep screen on until user close the pop-up notification and it would make sure device will be triggered vibration when CBC was occured.
Please refer to 'requestWakeLock API' as below.
[1]https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestWakeLock#Specification
Thanks.
Flags: needinfo?(gchen)
Comment 13•10 years ago
|
||
Hi Gary,
When the screen light off, vibration is inactive, but some other functions are active, for example playSequence;
Could you tell me why do we design like that ? Thank you !
var sequence2 = [[853, 960, 1950], [0, 0, 100]];
TonePlayer.setChannel('notification');
TonePlayer.playSequence(sequence1);
Comment 14•10 years ago
|
||
(In reply to xiongqin.bi from comment #13)
> Hi Gary,
>
> When the screen light off, vibration is inactive, but some other functions
> are active, for example playSequence;
> Could you tell me why do we design like that ? Thank you !
>
> var sequence2 = [[853, 960, 1950], [0, 0, 100]];
> TonePlayer.setChannel('notification');
> TonePlayer.playSequence(sequence1);
Are u talking about vibration or tone?
I don't think above code relative to vibration, and I also do some experiential, the result shows vibration is inactive when user turn screen off during the phone call.
Reporter | ||
Comment 15•10 years ago
|
||
(In reply to comment #6)
> Comment from Mozilla:(In reply to xiongqin.bi from comment #13)
> > Hi Gary,
> >
> > When the screen light off, vibration is inactive, but some other functions
> > are active, for example playSequence;
> > Could you tell me why do we design like that ? Thank you !
> >
> > var sequence2 = [[853, 960, 1950], [0, 0, 100]];
> > TonePlayer.setChannel('notification');
> > TonePlayer.playSequence(sequence1);
>
> Are u talking about vibration or tone?
> I don't think above code relative to vibration, and I also do some
> experiential, the result shows vibration is inactive when user turn screen off
> during the phone call.
>
I want to know why we have to disable the vibrate when when user turn screen off;
Why do we design like that ?
Comment 16•10 years ago
|
||
In our current scope, we don't have any user story need to vibrate when screen is off, so this is why current design.
But if you strongly want this feature, you can file a bug and discuss with owner and contribute it back to mozilla.
Thanks.
Comment 17•10 years ago
|
||
(In reply to GaryChen [:GaryChen][:PYChen][:陳柏宇] from comment #16)
> In our current scope, we don't have any user story need to vibrate when
> screen is off, so this is why current design.
> But if you strongly want this feature, you can file a bug and discuss with
> owner and contribute it back to mozilla.
>
> Thanks.
Hi Gary,
I have filed a new bug1154577 for solving the problem of vibrate.
could you please assess the risks and if we can implement in [FFOS2.0][Woodduck] ?
thank you!
Comment 18•10 years ago
|
||
Let's dup this to bug 1154577 and move discussion there. Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•