Closed Bug 964650 Opened 10 years ago Closed 10 years ago

[Sora]navigator.mozNfc is unavailable

Categories

(Firefox OS Graveyard :: NFC, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sync-1, Unassigned)

Details

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:
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
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)
Blocks: b2g-NFC-2.0
It's ok to close this.

Thanks.
Flags: needinfo?(sync-1)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
No longer blocks: b2g-NFC-2.0
You need to log in before you can comment on or make changes to this bug.