Closed
Bug 1080925
Opened 10 years ago
Closed 10 years ago
Enable Navigator.getMobileIdAssertion feature detection for LOOP
Categories
(Marketplace Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1097429
People
(Reporter: Harald, Unassigned)
References
Details
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1080889#c3 is Navigator.getMobileIdAssertion one of the only APIs that marks LOOP and 2.0+ only. WebRTC and other APIs are pre 2.0.
Supporting feature detecting this one API will limit the app to 2.0+ devices as expected and can be done using Navigator.hasFeature and api.window.Navigator.getMobileIdAssertion .
Reporter | ||
Updated•10 years ago
|
Blocks: 1080889, Loopmov_1_1
Severity: normal → major
Depends on: 983880
Flags: needinfo?(clouserw)
OS: Mac OS X → All
Hardware: x86 → All
Comment 1•10 years ago
|
||
where is getMobileIDAssertion documented as a webapi?
I believe that if hasFeature needs to be enhanced, then it would need to get into platform - and it would be in Firefox OS 2.2 - so I think we will need a workaround, like detecting something else that is in 2.0 or above, not using hasfeature. For instance, detecting whether the hasFeature API exists.
Reporter | ||
Comment 2•10 years ago
|
||
Navigator.getMobileIdAssertion can be detected using hasFeature('api.window.Navigator.getMobileIdAssertion').
When did api.window.Navigator.getMobileIdAssertion land?
Flags: needinfo?(ehsan.akhgari)
Comment 3•10 years ago
|
||
The work on that API was done in bug 1021594.
Flags: needinfo?(ehsan.akhgari)
Comment 4•10 years ago
|
||
Sounds like we're in good shape then. Thanks for investigating, Harald.
Flags: needinfo?(clouserw)
Updated•10 years ago
|
Priority: -- → P2
Comment 5•10 years ago
|
||
Why is this marked as major? Does this actually block LOOP?
Flags: needinfo?(hkirschner)
Comment 6•10 years ago
|
||
(In reply to Christopher Van Wiemeersch [:cvan] from comment #5)
> Why is this marked as major? Does this actually block LOOP?
Ah, bug 1080889. I answered my own question.
Flags: needinfo?(hkirschner)
Comment 7•10 years ago
|
||
Removing the dependency to Bug 988276 - (loop_mobile) [meta] Loop mobile client version 1.1 for release 2.0 in FxOS, as bug 1080889 already blocks it
No longer blocks: Loopmov_1_1
Comment 8•10 years ago
|
||
Was done in bug 1097429, bug 1097424 and others.
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
•