[Sora]navigator.mozNfc is unavailable

RESOLVED WORKSFORME

Status

Firefox OS
NFC
P1
normal
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: sync-1, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Mozilla buildID: 20140118004001 
 
 DEFECT DESCRIPTION:
     Run nfc-demo(from https://github.com/svic/gaia/tree/master/apps/nfc-demo).
  adb log shows "TypeError: window.navigator.mozNfc is undefined"
 
     navigator.mozNfc is also called by gaia/apps/settings/js/settings.js, and it is also unavailable.
 
     PS: I set MOZ_NFC=1 in building console before build, the building log shows building system works well and macro MOZ_NFC has been defined.
 
  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:

Updated

4 years ago
Component: General → NFC
try https://github.com/mozilla-b2g/device-mako/pull/8
in case you don't have libnfc-nci, see Bug 906577,
and in case you don't have nfcd, see Bug 906579
(Reporter)

Comment 2

4 years ago
HAL layer code has added and the log shows HAL layer seems work well.
 
 This should be tested on the device which really have a available nfc module.
Is this already fixed? 
Can we close this?
Flags: needinfo?(sync-1)

Updated

4 years ago
Blocks: 949293

Comment 4

4 years ago
It's ok to close this.

Thanks.
Flags: needinfo?(sync-1)

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME

Updated

4 years ago
No longer blocks: 949293
You need to log in before you can comment on or make changes to this bug.